mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-29 08:19:01 -04:00

Simply marking the symbol private conveys the desire to hide them to LLVM. llvm-svn: 221451
10 lines
231 B
Objective-C
10 lines
231 B
Objective-C
// RUN: %clang_cc1 -triple x86_64-apple-darwin11 -emit-llvm -fblocks -o - %s | FileCheck %s
|
|
|
|
// rdar://6027699
|
|
|
|
void test(id x) {
|
|
// CHECK: load i8** @OBJC_SELECTOR_REFERENCES_, !invariant.load
|
|
// CHECK: @objc_msgSend
|
|
[x foo];
|
|
}
|