1 /* Test demangling an Objective-C method in error messages. */
2 /* { dg-do compile } */
3 /* { dg-additional-options "-Wno-return-type" } */
7 @interface DemangleTest
11 + (int) testFunction1;
14 @implementation DemangleTest
17 /* TODO: Hack the testsuite so we can test that we get
18 dg-error "In function .+[DemangleTest testFunction1]."
19 At the moment, the message is filtered out. */
20 z; /* { dg-error "was not declared" } */