diff options
Diffstat (limited to 'test/CodeGen/lineno-dbginfo.c')
-rw-r--r-- | test/CodeGen/lineno-dbginfo.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/CodeGen/lineno-dbginfo.c b/test/CodeGen/lineno-dbginfo.c index 1f9b7a5..28c7243 100644 --- a/test/CodeGen/lineno-dbginfo.c +++ b/test/CodeGen/lineno-dbginfo.c @@ -1,5 +1,6 @@ // RUN: echo "#include <stddef.h>" > %t.h -// RUN: %clang_cc1 -S -g -include %t.h %s -emit-llvm -o %t.ll -// RUN: grep "i32 5" %t.ll -// outer is at line number 5. +// RUN: %clang_cc1 -S -g -include %t.h %s -emit-llvm -o - | FileCheck %s + +// CHECK: !"0x34\00outer\00outer\00\00[[@LINE+1]]\000\001" int outer = 42; + |