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 c++/85662
[official-gcc.git]
/
gcc
/
testsuite
/
obj-c++.dg
/
too-many-args.mm
blob
6fee1b31bd538fa65f83920d91524d1a61a22798
1
/* { dg-do compile } */
2
3
@interface SomeClass
4
+ method:(int)foo;
5
@end
6
7
int main(void) {
8
[SomeClass method:3, 4]; /* { dg-error "too many arguments to method \\'method:\\'" } */
9
return 0;
10
}