aboutsummaryrefslogtreecommitdiff
path: root/test/SemaObjC/attr-print.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/attr-print.m')
-rw-r--r--test/SemaObjC/attr-print.m9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/SemaObjC/attr-print.m b/test/SemaObjC/attr-print.m
new file mode 100644
index 000000000000..e3405d239e36
--- /dev/null
+++ b/test/SemaObjC/attr-print.m
@@ -0,0 +1,9 @@
+// RUN: %clang_cc1 %s -fobjc-arc -ast-print | FileCheck %s
+
+__strong id x;
+id y;
+__strong id z;
+
+// CHECK: __strong id x;
+// CHECK-NOT: __strong id y;
+// CHECK: __strong id z;