From 50f64d41f4c87f055c5cfe19f75a538362df4185 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Tue, 18 Feb 2014 18:35:57 +0000 Subject: [PATCH] Fix testcase to actually check what it was supposed to, and make it a bit more robust. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201591 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGenCXX/extern-c.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/CodeGenCXX/extern-c.cpp b/test/CodeGenCXX/extern-c.cpp index f8d334cc85..63bb177b84 100644 --- a/test/CodeGenCXX/extern-c.cpp +++ b/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; } -- 2.40.0