Anastasia Stulova | baa5063 | 2019-03-19 13:04:17 +0000 | [diff] [blame] | 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 | ||||
Eric Christopher | e54a592 | 2017-03-15 23:41:58 +0000 | [diff] [blame] | 4 | // Make sure we don't pass -finclude-default-header to any commands other than the driver. |
Guansong Zhang | 4747cf5 | 2017-03-15 20:57:11 +0000 | [diff] [blame] | 5 | |
6 | void test() {} | ||||
7 |