summaryrefslogtreecommitdiffstats
path: root/test/SemaObjC/rdr-6211479-array-property.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/rdr-6211479-array-property.m')
-rw-r--r--test/SemaObjC/rdr-6211479-array-property.m9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/SemaObjC/rdr-6211479-array-property.m b/test/SemaObjC/rdr-6211479-array-property.m
new file mode 100644
index 0000000..f8e4a07
--- /dev/null
+++ b/test/SemaObjC/rdr-6211479-array-property.m
@@ -0,0 +1,9 @@
+// RUN: clang-cc -fsyntax-only -verify %s
+// XFAIL
+// <rdar://problem/6211479>
+
+typedef int T[2];
+
+@interface A
+@property(assign) T p2; // expected-error {{FIXME: property has invalid type}}
+@end
OpenPOWER on IntegriCloud