|
1 | 1 | // RUN: %clang_cc1 -triple i386-pc-win32 -target-cpu pentium4 \ |
2 | 2 | // RUN: -fms-extensions -fms-compatibility -fms-compatibility-version=17.00 \ |
3 | | -// RUN: -ffreestanding -fsyntax-only -Werror \ |
| 3 | +// RUN: -ffreestanding -fsyntax-only -Werror -Wsystem-headers \ |
4 | 4 | // RUN: -isystem %S/Inputs/include %s |
5 | 5 |
|
6 | 6 | // RUN: %clang_cc1 -triple i386-pc-win32 -target-cpu broadwell \ |
7 | 7 | // RUN: -fms-extensions -fms-compatibility -fms-compatibility-version=17.00 \ |
8 | | -// RUN: -ffreestanding -emit-obj -o /dev/null -Werror \ |
| 8 | +// RUN: -ffreestanding -emit-obj -o /dev/null -Werror -Wsystem-headers \ |
9 | 9 | // RUN: -isystem %S/Inputs/include %s |
10 | 10 |
|
11 | 11 | // RUN: %clang_cc1 -triple x86_64-pc-win32 \ |
12 | 12 | // RUN: -fms-extensions -fms-compatibility -fms-compatibility-version=17.00 \ |
13 | | -// RUN: -ffreestanding -emit-obj -o /dev/null -Werror \ |
| 13 | +// RUN: -ffreestanding -emit-obj -o /dev/null -Werror -Wsystem-headers \ |
14 | 14 | // RUN: -isystem %S/Inputs/include %s |
15 | 15 |
|
16 | 16 | // RUN: %clang_cc1 -triple thumbv7--windows \ |
17 | 17 | // RUN: -fms-compatibility -fms-compatibility-version=17.00 \ |
18 | | -// RUN: -ffreestanding -fsyntax-only -Werror \ |
| 18 | +// RUN: -ffreestanding -fsyntax-only -Werror -Wsystem-headers \ |
19 | 19 | // RUN: -isystem %S/Inputs/include %s |
20 | 20 |
|
21 | 21 | // RUN: %clang_cc1 -triple aarch64--windows \ |
22 | 22 | // RUN: -fms-compatibility -fms-compatibility-version=17.00 \ |
23 | | -// RUN: -ffreestanding -fsyntax-only -Werror \ |
| 23 | +// RUN: -ffreestanding -fsyntax-only -Werror -Wsystem-headers \ |
24 | 24 | // RUN: -isystem %S/Inputs/include %s |
25 | 25 |
|
26 | 26 | // RUN: %clang_cc1 -triple arm64ec--windows \ |
27 | 27 | // RUN: -fms-compatibility -fms-compatibility-version=17.00 \ |
28 | | -// RUN: -ffreestanding -fsyntax-only -Werror \ |
| 28 | +// RUN: -ffreestanding -fsyntax-only -Werror -Wsystem-headers \ |
29 | 29 | // RUN: -isystem %S/Inputs/include %s |
30 | 30 |
|
31 | 31 | // REQUIRES: x86-registered-target |
|
0 commit comments