OSDN Git Service

Backported from mainline
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / objc.dg / method-20.m
1 /* { dg-do compile }  */
2
3 /* We used to crash after we found the type for int[m] was declared as invalid. */
4 /* PR objc/29197 */
5
6 @ implementation NGActiveSocket
7 + (void) socketPair:(int[m]) _pair {} /* { dg-error "" } */
8        /* { dg-warning "" "" { target *-*-* } 7 } */
9 @end