* tree-loop-distribution.c (struct partition): New field recording
[official-gcc.git] / gcc / testsuite / obj-c++.dg / demangle-3.mm
blob01e6c618e5e4eef60c591cc2346e574c7e188646
1 /* Test demangling an Objective-C method in error messages.  */
2 /* { dg-do compile } */
4 #include <objc/objc.h>
6 @interface DemangleTest
8   Class isa;
10 + (int) testFunction1;
11 @end
13 @implementation DemangleTest
14 + (int) testFunction1
16   /* TODO: Hack the testsuite so we can test that we get 
17      dg-error "In function .+[DemangleTest testFunction1]."
18      At the moment, the message is filtered out.  */
19   z; /* { dg-error "was not declared" } */
21 @end