aboutsummaryrefslogtreecommitdiff
path: root/test/SemaObjC/objc2-merge-gc-attribue-decl.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/objc2-merge-gc-attribue-decl.m')
-rw-r--r--test/SemaObjC/objc2-merge-gc-attribue-decl.m12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/SemaObjC/objc2-merge-gc-attribue-decl.m b/test/SemaObjC/objc2-merge-gc-attribue-decl.m
new file mode 100644
index 000000000000..4e3b3ec7a4dd
--- /dev/null
+++ b/test/SemaObjC/objc2-merge-gc-attribue-decl.m
@@ -0,0 +1,12 @@
+// RUN: clang-cc -triple i386-apple-darwin9 -fobjc-gc -fsyntax-only -verify %s
+@interface INTF @end
+
+extern INTF* p2;
+extern __strong INTF* p2;
+
+extern __strong id p1;
+extern id p1;
+
+extern id CFRunLoopGetMain();
+extern __strong id CFRunLoopGetMain();
+