summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
Diffstat (limited to 'clang')
-rw-r--r--clang/test/CodeGenObjC/availability-dso-local.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/CodeGenObjC/availability-dso-local.m b/clang/test/CodeGenObjC/availability-dso-local.m
new file mode 100644
index 00000000000..8ff41d87f1e
--- /dev/null
+++ b/clang/test/CodeGenObjC/availability-dso-local.m
@@ -0,0 +1,6 @@
+// RUN: %clang_cc1 -triple thumbv7-apple-ios10.0.0 -emit-llvm -fvisibility hidden -w %s -o - | FileCheck %s
+
+// CHECK: @"OBJC_CLASS_$_a" = hidden global %struct._class_t
+
+__attribute__((availability(ios, introduced = 11.0))) @interface a @end
+ @implementation a @end
OpenPOWER on IntegriCloud