repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
PR inline-asm/84742
[official-gcc.git]
/
gcc
/
testsuite
/
obj-c++.dg
/
syntax-error-7.mm
blob
5bdccc7b05f3a0e1da5195aeed343977a2ebbc44
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-warning "incomplete implementation of class" } */
13
/* { dg-warning "method definition for ..someMethod. not found" "" { target *-*-* } .-1 } */