]> gcc.gnu.org Git - gcc.git/blame - gcc/testsuite/obj-c++.dg/demangle-3.mm
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / obj-c++.dg / demangle-3.mm
CommitLineData
b8a18805
NP
1/* Test demangling an Objective-C method in error messages. */
2/* { dg-do compile } */
19520957 3/* { dg-additional-options "-Wno-return-type" } */
b8a18805
NP
4
5#include <objc/objc.h>
6
7@interface DemangleTest
8{
9 Class isa;
10}
11+ (int) testFunction1;
12@end
13
14@implementation DemangleTest
15+ (int) testFunction1
16{
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" } */
21}
22@end
This page took 5.554683 seconds and 5 git commands to generate.