Skip to content

Commit c3a5087

Browse files
committed
[Driver,test] Add -Wno-msvc-not-found to gcc-param.c
Fixes: 56c4971 If the default target triple uses visualstudio::Linker::ConstructJob, when a MSVC installation cannot be found, there will be a -Wmsvc-not-found diagnostic, which is turned to an error due to -Werror. We have many driver tests that don't specify --target= and would get a -Wmsvc-not-found warning, but this might be the only that uses -Werror and is not skipped by a `UNSUPPORTED`.
1 parent e20b904 commit c3a5087

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/Driver/gcc-param.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
// RUN: touch %t.o
2-
// RUN: %clang -Werror --param ssp-buffer-size=1 %t.o -###
2+
// RUN: %clang -Werror -Wno-msvc-not-found --param ssp-buffer-size=1 %t.o -###

0 commit comments

Comments
 (0)