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:
Michael Gottesman 2013-02-06 00:14:48 +00:00
parent 76ff8b54b3
commit e7b56375e1
1 changed files with 8 additions and 0 deletions

View File

@ -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];
}