Fix testcase to actually check what it was supposed to, and make it a bit more robust.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 18 Feb 2014 18:35:57 +0000 (18:35 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 18 Feb 2014 18:35:57 +0000 (18:35 +0000)
llvm-svn: 201591

clang/test/CodeGenCXX/extern-c.cpp

index f8d334c..63bb177 100644 (file)
@@ -13,9 +13,8 @@ int c = 5;
 // CHECK-NOT: @_ZN3foo1dE
 extern "C" struct d;
 
-// CHECK-NOT: @e = global
-// CHECK-NOT: @_ZN3foo1eE = global
-extern "C++" int a2;
+// CHECK-NOT: should_not_appear
+extern "C++" int should_not_appear;
 
 }