Skip to content

Commit 2a8c4ec

Browse files
committed
[Clang][Driver][Test] Add implicit-check-not
1 parent c5aefbe commit 2a8c4ec

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

clang/test/Driver/unknown-arg-drivermodes.test

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
// RUN: -static \
1111
// RUN: -stdlib \
1212
// RUN: -Xoffload-linker \
13-
// RUN: -### -x c++ -c - < /dev/null 2>&1 | FileCheck %s --check-prefix=CL
13+
// RUN: -### -x c++ -c - < /dev/null 2>&1 \
14+
// RUN: | FileCheck %s --check-prefix=CL --implicit-check-not="warning:"
1415

1516
// RUN: not %clang_dxc \
1617
// RUN: --config \
@@ -25,7 +26,8 @@
2526
// RUN: -stdlib \
2627
// RUN: -Xlinker \
2728
// RUN: -Xoffload-linker \
28-
// RUN: -### -T lib_6_3 -Vd - < /dev/null 2>&1 | FileCheck %s --check-prefix=DXC
29+
// RUN: -### -T lib_6_3 -Vd - < /dev/null 2>&1 \
30+
// RUN: | FileCheck %s --check-prefix=DXC --implicit-check-not="error:"
2931

3032
// CL: warning: unknown argument ignored in clang-cl: '--config'
3133
// CL: warning: unknown argument ignored in clang-cl: '-fdiagnostics-color=auto'

0 commit comments

Comments
 (0)