]> granicus.if.org Git - clang/commitdiff
Add XFAIL test case for:
authorDaniel Dunbar <daniel@zuster.org>
Wed, 10 Sep 2008 23:11:23 +0000 (23:11 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 10 Sep 2008 23:11:23 +0000 (23:11 +0000)
<rdar://problem/6211479> [sema] array type invalid for Obj-C property

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56075 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaObjC/rdr-6211479-array-property.m [new file with mode: 0644]

diff --git a/test/SemaObjC/rdr-6211479-array-property.m b/test/SemaObjC/rdr-6211479-array-property.m
new file mode 100644 (file)
index 0000000..8b7067f
--- /dev/null
@@ -0,0 +1,9 @@
+// RUN: clang -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