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