summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/2010-02-15-DbgStaticVar.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/2010-02-15-DbgStaticVar.c')
-rw-r--r--test/CodeGen/2010-02-15-DbgStaticVar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGen/2010-02-15-DbgStaticVar.c b/test/CodeGen/2010-02-15-DbgStaticVar.c
index facd14e..8980b60 100644
--- a/test/CodeGen/2010-02-15-DbgStaticVar.c
+++ b/test/CodeGen/2010-02-15-DbgStaticVar.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -g -emit-llvm %s -o - | grep "metadata ..b., metadata ..b., metadata ...,"
+// RUN: %clang_cc1 -g -emit-llvm %s -o - | FileCheck %s
// Test to check intentionally empty linkage name for a static variable.
// Radar 7651244.
static int foo(int a)
@@ -11,3 +11,4 @@ int main() {
int j = foo(1);
return 0;
}
+// CHECK: !"0x34\00b\00b\00\00{{.*}}",
OpenPOWER on IntegriCloud