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
Preserving locations for variable-uses and constants (PR c++/43486)
[official-gcc.git]
/
gcc
/
testsuite
/
objc.dg
/
pr48187.m
blob
cd7910da92471e3362cc280f577c774f7d60a4d8
1
/* { dg-do compile } */
2
3
@interface A
4
{
5
] /* { dg-error "xpected" } */
6
}
7
@end
8
9
@interface B
10
{
11
]; /* { dg-error "xpected" } */
12
}
13
@end
14
15
@interface C
16
{
17
]; /* { dg-error "xpected" } */
18
int x;
19
}
20
@end
21
22
@interface D
23
{
24
) /* { dg-error "xpected" } */
25
}
26
@end
27
28
@interface E
29
{
30
); /* { dg-error "xpected" } */
31
}
32
@end
33
34
@interface F
35
{
36
); /* { dg-error "xpected" } */
37
int x;
38
}
39
@end