forked from OSchip/llvm-project
Fix test, which could miss failures, and also avoid leaving temporary .i file in
source directory. llvm-svn: 73094
This commit is contained in:
parent
eed62b7c4b
commit
fd262b4a62
|
@ -1,5 +1,6 @@
|
|||
// RUN: echo "#include <stdio.h>" > %t.h
|
||||
// RUN: clang -S -save-temps -g -include %t.h %s -emit-llvm -o %t.ll
|
||||
// RUN: grep "i32 5" %t.ll
|
||||
// RUN: echo "#include <stdio.h>" > %t.h &&
|
||||
// RUN: clang -S -save-temps -g -include %t.h %s -emit-llvm -o %t.ll &&
|
||||
// RUN: grep "i32 5" %t.ll &&
|
||||
// RUN: rm -f lineno-dbginfo.i
|
||||
// outer is at line number 5.
|
||||
int outer = 42;
|
||||
|
|
Loading…
Reference in New Issue