call-super-2.m: Update line numbers for the including of stddef.h.

2004-01-30  Andrew Pinski  <pinskia@physics.uc.edu>

        * objc.dg/call-super-2.m: Update line numbers
        for the including of stddef.h.

From-SVN: r77027
This commit is contained in:
Andrew Pinski 2004-01-31 09:49:14 +00:00 committed by Andrew Pinski
parent 4de249d909
commit 4500e76d5e
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2004-01-30 Andrew Pinski <pinskia@physics.uc.edu>
* objc.dg/call-super-2.m: Update line numbers
for the including of stddef.h.
2004-01-30 Michael Matz <matz@suse.de>
* g++.dg/ext/case-range1.C, g++.dg/ext/case-range2.C,

View File

@ -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 <Func> *)self categ_instance_func2];
i += (size_t)[(Object <Func> *)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 <Func>)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." } */