1 // RUN: %clang -fintegrated-cc1 -### %s 2>&1 | FileCheck %s --check-prefix=YES
2 // RUN: %clang -fno-integrated-cc1 -### %s 2>&1 | FileCheck %s --check-prefix=NO
3 
4 // RUN: %clang -fintegrated-cc1 -fno-integrated-cc1 -### %s 2>&1 \
5 // RUN:     | FileCheck %s --check-prefix=NO
6 // RUN: %clang -fno-integrated-cc1 -fintegrated-cc1 -### %s 2>&1 \
7 // RUN:     | FileCheck %s --check-prefix=YES
8 
9 // RUN: %clang_cl -fintegrated-cc1 -### -- %s 2>&1 \
10 // RUN:     | FileCheck %s --check-prefix=YES
11 // RUN: %clang_cl -fno-integrated-cc1 -### -- %s 2>&1 \
12 // RUN:     | FileCheck %s --check-prefix=NO
13 
14 // RUN: env CCC_OVERRIDE_OPTIONS=+-fintegrated-cc1 \
15 // RUN:     %clang -fintegrated-cc1 -### %s 2>&1 \
16 // RUN:     | FileCheck %s --check-prefix=YES
17 // RUN: env CCC_OVERRIDE_OPTIONS=+-fno-integrated-cc1 \
18 // RUN:     %clang -fintegrated-cc1 -### %s 2>&1 \
19 // RUN:     | FileCheck %s --check-prefix=NO
20 
21 // YES: (in-process)
22 // NO-NOT: (in-process)
23