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
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
obj-c++.dg
/
pr23709.mm
blob
018b53ac456656a2ea284738f2a28fbeac169d79
1
/* { dg-do compile } */
2
3
@interface A
4
+(void)method: (int)parameter {} /* { dg-error "expected" } */
5
@end
6
7
@implementation A
8
+(void)method: (int)parameter
9
{
10
*parameter; /* { dg-error "invalid type argument" } */
11
}
12
@end