Added test for r174461 that checks that the desired behavior also occurs in ObjC++ alongside ObjC.
\end paranoia. llvm-svn: 174471
This commit is contained in:
parent
76ff8b54b3
commit
e7b56375e1
|
@ -0,0 +1,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];
|
||||
}
|
Loading…
Reference in New Issue