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
2013-10-11 Marc Glisse <marc.glisse@inria.fr>
[official-gcc.git]
/
gcc
/
testsuite
/
obj-c++.dg
/
syntax-error-7.mm
blob
e38c0958cc343964459d51d84c1516c79ed38769
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 *-*-* } 12 } */