projects
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
In gcc/testsuite/: 2010-10-07 Nicola Pero <nicola.pero@meta-innovation.com>
[gcc.git]
/
gcc
/
testsuite
/
obj-c++.dg
/
syntax-error-7.mm
1
/* { dg-do compile } */
2
3
@interface Foo
4
-(void) someMethod;
5
@end
6
7
@implementation Foo
8
-(void)
9
-(void) someMethod /* { dg-error "expected before .-." } */
10
{
11
}
12
@end /* { dg-error "incomplete implementation of class" } */
13
/* { dg-error "method definition for ..someMethod. not found" "" { target *-*-* } 12 } */