Fix up testcase to:

a) avoid actually compiling anything
b) avoid depositing files in the test directory
c) use a check line to make sure that we're looking for the correct behavior

llvm-svn: 297917
This commit is contained in:
Eric Christopher 2017-03-15 23:41:58 +00:00
parent 6d5412596c
commit e54a592aee
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@
// RUN: %clang -v -save-temps -x cl -Xclang -cl-std=CL2.0 -Xclang -finclude-default-header -emit-llvm -c %s
// RUN: %clang -save-temps -x cl -Xclang -cl-std=CL2.0 -Xclang -finclude-default-header -emit-llvm -S -### %s
// CHECK-NOT: finclude-default-header
// Make sure we don't pass -finclude-default-header to any commands other than the driver.
void test() {}