diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 979a0457759c..18aa48b55539 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-01-30 Andrew Pinski + + * objc.dg/call-super-2.m: Update line numbers + for the including of stddef.h. + 2004-01-30 Michael Matz * g++.dg/ext/case-range1.C, g++.dg/ext/case-range2.C, diff --git a/gcc/testsuite/objc.dg/call-super-2.m b/gcc/testsuite/objc.dg/call-super-2.m index 5223d827dd15..41eafc837809 100644 --- a/gcc/testsuite/objc.dg/call-super-2.m +++ b/gcc/testsuite/objc.dg/call-super-2.m @@ -46,9 +46,9 @@ + (int) class_func1 { int i = (size_t)[self class_func0]; /* { dg-warning ".Derived. may not respond to .\\+class_func0." } */ - /* { dg-warning "Messages without a matching method signature" "" { target *-*-* } 47 } */ - /* { dg-warning "will be assumed to return .id. and accept" "" { target *-*-* } 47 } */ - /* { dg-warning ".\.\.\.. as arguments" "" { target *-*-* } 47 } */ + /* { dg-warning "Messages without a matching method signature" "" { target *-*-* } 48 } */ + /* { dg-warning "will be assumed to return .id. and accept" "" { target *-*-* } 48 } */ + /* { dg-warning ".\.\.\.. as arguments" "" { target *-*-* } 48 } */ return i + (size_t)[super class_func0]; /* { dg-warning ".Object. may not respond to .\\+class_func0." } */ } + (int) class_func2 @@ -128,7 +128,7 @@ int i = (size_t)[self instance_func0]; /* { dg-warning ".Derived. may not respond to .\\-instance_func0." } */ i += [(Derived *)self categ_instance_func2]; i += (size_t)[(Object *)self categ_instance_func2]; /* { dg-warning ".Object. may not respond to .\\-categ_instance_func2." } */ - /* { dg-warning ".\\-categ_instance_func2. not implemented by protocol" "" { target *-*-* } 129 } */ + /* { dg-warning ".\\-categ_instance_func2. not implemented by protocol" "" { target *-*-* } 130 } */ i += (size_t)[(id )self categ_instance_func2]; /* { dg-warning ".\\-categ_instance_func2. not implemented by protocol" } */ i += [(id)self categ_instance_func2]; return i + (size_t)[super instance_func0]; /* { dg-warning ".Object. may not respond to .\\-instance_func0." } */