1/* { dg-do compile } */
2
3@interface SomeClass
4+ method:(int)foo;
5@end
6
7int main(void) {
8    [SomeClass method:3, 4];	/* { dg-error "too many arguments to method \\'method:\\'" } */
9    return 0;
10}
11