[Driver,test] Add -Wno-msvc-not-found to gcc-param.c
Fixes: 56c4971d33
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`.
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
// RUN: touch %t.o
|
||||
// RUN: %clang -Werror --param ssp-buffer-size=1 %t.o -###
|
||||
// RUN: %clang -Werror -Wno-msvc-not-found --param ssp-buffer-size=1 %t.o -###
|
||||
|
||||
Reference in New Issue
Block a user