blob: 39c056c5ba617fcf66be29fffedf702430ad839e [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +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