summaryrefslogtreecommitdiffstats
path: root/test/SemaObjC/property-weak.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/property-weak.m')
-rw-r--r--test/SemaObjC/property-weak.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/SemaObjC/property-weak.m b/test/SemaObjC/property-weak.m
new file mode 100644
index 0000000..293432fc8
--- /dev/null
+++ b/test/SemaObjC/property-weak.m
@@ -0,0 +1,5 @@
+// RUN: clang-cc -triple i386-apple-darwin9 -fsyntax-only -verify %s
+
+@interface foo
+@property(nonatomic) int foo __attribute__((weak_import));
+@end
OpenPOWER on IntegriCloud