Sign in
cobalt
/
cobalt
/
3cd5432aaed8f14f27f66ade1b51aa71df939492
/
.
/
third_party
/
llvm-project
/
clang
/
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
];
}