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