Sign in
llvm
/
clang
/
7d0e090bbc61baebf0be18e4d9ba36615b6cd566
/
.
/
test
/
CodeGenObjC
/
selector-ref-invariance.m
blob: 18fb828d29de5d80fa842623a1304073b7975820 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -triple x86_64-apple-darwin11 -emit-llvm -fblocks -o - %s | FileCheck %s
// rdar://6027699
void
test
(
id x
)
{
// CHECK: load i8*, i8** @OBJC_SELECTOR_REFERENCES_, align 8, !invariant.load
// CHECK: @objc_msgSend
[
x foo
];
}