summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenObjC/property-setter-attr.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGenObjC/property-setter-attr.m')
-rw-r--r--clang/test/CodeGenObjC/property-setter-attr.m10
1 files changed, 10 insertions, 0 deletions
diff --git a/clang/test/CodeGenObjC/property-setter-attr.m b/clang/test/CodeGenObjC/property-setter-attr.m
new file mode 100644
index 0000000..d155ca8
--- /dev/null
+++ b/clang/test/CodeGenObjC/property-setter-attr.m
@@ -0,0 +1,10 @@
+// RUN: %clang_cc1 -emit-llvm -triple=i686-apple-darwin8 -o %t %s
+// RUN: grep -e "SiSetOtherThings:" %t
+
+@interface A
+@property(setter=iSetOtherThings:) int otherThings;
+@end
+
+@implementation A
+@dynamic otherThings;
+@end