r324552 - Add a testcase for PR36268.

Rafael Espindola via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 7 17:17:26 PST 2018


Author: rafael
Date: Wed Feb  7 17:17:26 2018
New Revision: 324552

URL: http://llvm.org/viewvc/llvm-project?rev=324552&view=rev
Log:
Add a testcase for PR36268.

Added:
    cfe/trunk/test/CodeGenObjC/availability-dso-local.m

Added: cfe/trunk/test/CodeGenObjC/availability-dso-local.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/availability-dso-local.m?rev=324552&view=auto
==============================================================================
--- cfe/trunk/test/CodeGenObjC/availability-dso-local.m (added)
+++ cfe/trunk/test/CodeGenObjC/availability-dso-local.m Wed Feb  7 17:17:26 2018
@@ -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




More information about the cfe-commits mailing list