URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [objc.dg/] [selector-2.m] - Rev 154
Compare with Previous | Blame | View Log
/* Test that we don't ICE when issuing a -Wselector warning. */ /* { dg-options "-Wselector" } */ /* { dg-do compile } */ #include <objc/Object.h> @interface Foo @end @implementation Foo -(void) foo { SEL a; a = @selector(b1ar); } @end /* { dg-warning "creating selector for nonexistent method .b1ar." "" { target *-*-* } 0 } */