Manman Ren | aa0178e5 | 2016-10-13 18:42:14 +0000 | [diff] [blame^] | 1 | // RUN: rm -rf %t |
2 | // RUN: %clang_cc1 -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -I %S/Inputs/objc-initializer %s -emit-llvm -o - -fobjc-arc | FileCheck %s | ||||
3 | // CHECK: kSimDeviceIOGetInterface = internal constant {{.*}} bitcast | ||||
4 | |||||
5 | #import <X.h> | ||||
6 | void test2(const NSString*); | ||||
7 | void test() { | ||||
8 | test2(kSimDeviceIOGetInterface); | ||||
9 | } |