Skip to content

Commit f2b1ec4

Browse files
committed
Enable warnings inside system headers
1 parent 52e2175 commit f2b1ec4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

clang/test/Headers/ms-intrin.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
// RUN: %clang_cc1 -triple i386-pc-win32 -target-cpu pentium4 \
22
// RUN: -fms-extensions -fms-compatibility -fms-compatibility-version=17.00 \
3-
// RUN: -ffreestanding -fsyntax-only -Werror \
3+
// RUN: -ffreestanding -fsyntax-only -Werror -Wsystem-headers \
44
// RUN: -isystem %S/Inputs/include %s
55

66
// RUN: %clang_cc1 -triple i386-pc-win32 -target-cpu broadwell \
77
// 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 \
99
// RUN: -isystem %S/Inputs/include %s
1010

1111
// RUN: %clang_cc1 -triple x86_64-pc-win32 \
1212
// 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 \
1414
// RUN: -isystem %S/Inputs/include %s
1515

1616
// RUN: %clang_cc1 -triple thumbv7--windows \
1717
// RUN: -fms-compatibility -fms-compatibility-version=17.00 \
18-
// RUN: -ffreestanding -fsyntax-only -Werror \
18+
// RUN: -ffreestanding -fsyntax-only -Werror -Wsystem-headers \
1919
// RUN: -isystem %S/Inputs/include %s
2020

2121
// RUN: %clang_cc1 -triple aarch64--windows \
2222
// RUN: -fms-compatibility -fms-compatibility-version=17.00 \
23-
// RUN: -ffreestanding -fsyntax-only -Werror \
23+
// RUN: -ffreestanding -fsyntax-only -Werror -Wsystem-headers \
2424
// RUN: -isystem %S/Inputs/include %s
2525

2626
// RUN: %clang_cc1 -triple arm64ec--windows \
2727
// RUN: -fms-compatibility -fms-compatibility-version=17.00 \
28-
// RUN: -ffreestanding -fsyntax-only -Werror \
28+
// RUN: -ffreestanding -fsyntax-only -Werror -Wsystem-headers \
2929
// RUN: -isystem %S/Inputs/include %s
3030

3131
// REQUIRES: x86-registered-target

0 commit comments

Comments
 (0)