Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
5eb810024dc8a1d12d5f066c02c978f07c4fcb00
/
.
/
test
/
SemaObjC
/
rdr-6211479-array-property.m
blob: 1781c5a40402828d10459303557d56887f72e8e4 [
file
] [
log
] [
blame
]
// RUN: clang-cc -fsyntax-only -verify %s
// <rdar://problem/6211479>
typedef
int
T
[
2
];
@interface
A
@property
(
assign
)
T p2
;
// expected-error {{property cannot have array or function type 'T' (aka 'int [2]')}}
@end