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
* config/sparc/driver-sparc.c (cpu_names): Add SPARC-T5 entry.
[official-gcc.git]
/
gcc
/
testsuite
/
obj-c++.dg
/
syntax-error-2.mm
blob
ba8804a89e28525dec2468724ceec9532e372557
1
/* Recover gracefully from a syntax error. */
2
3
@implementation Whatever /* { dg-warning "cannot find interface declaration for .Whatever." } */
4
5
- (void) function
6
{
7
if( 1 )
8
{
9
else /* { dg-error "expected .\}. before .else." } */
10
{
11
}
12
}
13
14
- (void) another {}
15
16
@end