r201591 - Fix testcase to actually check what it was supposed to, and make it a bit more robust.
Richard Smith
richard-llvm at metafoo.co.uk
Tue Feb 18 10:35:57 PST 2014
Author: rsmith
Date: Tue Feb 18 12:35:57 2014
New Revision: 201591
URL: http://llvm.org/viewvc/llvm-project?rev=201591&view=rev
Log:
Fix testcase to actually check what it was supposed to, and make it a bit more robust.
Modified:
cfe/trunk/test/CodeGenCXX/extern-c.cpp
Modified: cfe/trunk/test/CodeGenCXX/extern-c.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/extern-c.cpp?rev=201591&r1=201590&r2=201591&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/extern-c.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/extern-c.cpp Tue Feb 18 12:35:57 2014
@@ -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;
}
More information about the cfe-commits
mailing list