diff options
Diffstat (limited to 'test/CodeGen/debug-info-static.c')
| -rw-r--r-- | test/CodeGen/debug-info-static.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/CodeGen/debug-info-static.c b/test/CodeGen/debug-info-static.c index fbe2a0098f70a..016f1e6e6cc57 100644 --- a/test/CodeGen/debug-info-static.c +++ b/test/CodeGen/debug-info-static.c @@ -1,6 +1,9 @@ // RUN: %clang_cc1 -debug-info-kind=limited -emit-llvm -o - %s | FileCheck %s -// CHECK: !DIGlobalVariable({{.*}}variable: i32* @f.xyzzy +// CHECK: @f.xyzzy = internal global i32 0, align 4, !dbg [[XYZZY:![0-9]+]] + +// CHECK: [[XYZZY]] = !DIGlobalVariableExpression(var: [[VAR:.*]]) +// CHECK: [[VAR]] = distinct !DIGlobalVariable void f(void) { static int xyzzy; |
