]> granicus.if.org Git - clang/commitdiff
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)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201591 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/extern-c.cpp

index f8d334cc858f32fe250d466c72ac7fbca4f9bb7a..63bb177b84dc4546a948a3b25b90bdb008033f58 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;
 
 }