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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [objc.dg/] [fsyntax-only.m] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* Test -fsyntax-only compiler option  */
2
/* { dg-do compile } */
3
/* { dg-options "-fsyntax-only" } */
4
 
5
@interface foo
6
-(void) my_method:(int) i with:(int) j;
7
@end
8
 
9
@implementation foo
10
-(void) my_method:(int) i with:(int) j { }
11
@end

powered by: WebSVN 2.1.0

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