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] - Rev 717

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

/* Test demangling an Objective-C method in error messages.  */
/* { dg-do compile } */

#include <objc/objc.h>

@interface DemangleTest
{
  Class isa;
}
+ (int) testFunction1;
@end

@implementation DemangleTest
+ (int) testFunction1
{
  /* TODO: Hack the testsuite so we can test that we get 
     dg-error "In function .+[DemangleTest testFunction1]."
     At the moment, the message is filtered out.  */
  z; /* { dg-error "was not declared" } */
}
@end

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

powered by: WebSVN 2.1.0

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