| 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 | |
| 6 | void test() {} |
| 7 | |
| 8 |