teak-llvm/clang/test/Driver/include-default-header.cl
Eric Christopher e54a592aee 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
2017-03-15 23:41:58 +00:00

7 lines
256 B
Common Lisp

// 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() {}