OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [obj-c++.dg/] [demangle-3.mm] - Blame information for rev 750

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 703 jeremybenn
/* Test demangling an Objective-C method in error messages.  */
2
/* { dg-do compile } */
3
 
4
#include 
5
 
6
@interface DemangleTest
7
{
8
  Class isa;
9
}
10
+ (int) testFunction1;
11
@end
12
 
13
@implementation DemangleTest
14
+ (int) testFunction1
15
{
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" } */
20
}
21
@end

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.