llvm-project/clang/test/CodeGenObjC/availability-dso-local.m
Rafael Espindola c81d5874a5 Add a testcase for PR36268.
llvm-svn: 324552
2018-02-08 01:17:26 +00:00

7 lines
270 B
Objective-C

// 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