summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/extern-c.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2014-02-18 18:35:57 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2014-02-18 18:35:57 +0000
commitdcfbea1e322bf9902b200a0be07533e3b587e978 (patch)
tree41cad6c4e8a3e51473e33f49478381a68f03a73b /clang/test/CodeGenCXX/extern-c.cpp
parentb762de1662ef6b69209aa59ba9045d94cc837e5e (diff)
downloadbcm5719-llvm-dcfbea1e322bf9902b200a0be07533e3b587e978.tar.gz
bcm5719-llvm-dcfbea1e322bf9902b200a0be07533e3b587e978.zip
Fix testcase to actually check what it was supposed to, and make it a bit more robust.
llvm-svn: 201591
Diffstat (limited to 'clang/test/CodeGenCXX/extern-c.cpp')
-rw-r--r--clang/test/CodeGenCXX/extern-c.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/test/CodeGenCXX/extern-c.cpp b/clang/test/CodeGenCXX/extern-c.cpp
index f8d334cc858..63bb177b84d 100644
--- a/clang/test/CodeGenCXX/extern-c.cpp
+++ b/clang/test/CodeGenCXX/extern-c.cpp
@@ -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;
}
OpenPOWER on IntegriCloud