xref: /llvm-project/clang/test/Driver/include-default-header.cl (revision baa506319abdb87e759d57bd3305f13cf79fdaae)
1// RUN: %clang -save-temps -x cl -Xclang -cl-std=CL2.0 -Xclang -finclude-default-header -emit-llvm -S -### %s 2>&1 | FileCheck %s
2
3// CHECK-LABEL: finclude-default-header
4// Make sure we don't pass -finclude-default-header to any commands other than the driver.
5
6void test() {}
7
8