blob: a5d177335ceeb23a66c81394b66b2519a5830dc4 [file] [log] [blame]
Fariborz Jahanian1147c5e2009-12-14 17:36:25 +00001// RUN: clang -cc1 -fsyntax-only -verify %s
Daniel Dunbar0b7a5c02008-09-10 23:11:23 +00002// <rdar://problem/6211479>
3
4typedef int T[2];
5
6@interface A
Steve Naroffddc4b812009-07-29 15:24:47 +00007@property(assign) T p2; // expected-error {{property cannot have array or function type 'T' (aka 'int [2]')}}
Daniel Dunbar0b7a5c02008-09-10 23:11:23 +00008@end