This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH][Committed][testsuite] update call-super-2.m for including of stddef.h


After Geoff Keating have objc.dg/call-super-2.m include stddef.h, he had forgot to update
the testsuite's line numbers to show that they had increased by 1. This patch fixes that.


Committed as obvious.

Thanks,
Andrew Pinski

ChangeLog:

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

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

Patch:
Index: objc.dg/call-super-2.m
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/objc.dg/call-super-2.m,v
retrieving revision 1.4
diff -u -p -r1.4 call-super-2.m
--- objc.dg/call-super-2.m 29 Jan 2004 20:56:33 -0000 1.4
+++ objc.dg/call-super-2.m 31 Jan 2004 09:45:52 -0000
@@ -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." } */



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]