summaryrefslogtreecommitdiffstats
path: root/test/CodeGenObjCXX/externally-initialized-selectors.mm
blob: 87a7c04cf718bf75360e43f0bf3242d4f64f000e (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1 -cc1 -fobjc-runtime=macosx-fragile-10.5 -o - -emit-llvm %s | FileCheck %s
// RUN: %clang_cc1 -cc1 -o - -emit-llvm %s | FileCheck %s

// CHECK: @"\01L_OBJC_SELECTOR_REFERENCES_" = internal externally_initialized global

void test(id x) {
  [x doSomething];
}
OpenPOWER on IntegriCloud