blob: 1781c5a40402828d10459303557d56887f72e8e4 [file] [log] [blame]
Daniel Dunbard7d5f022009-03-24 02:24:46 +00001// RUN: clang-cc -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