[libcxx] [test] Silence MSVC warning C4146.
This test code triggers the MSVC warning: "unary minus operator applied to unsigned type, result still unsigned" Although it would be possible to change the test code to avoid this warning, I have chosen to simply silence it. Fixes D45594. llvm-svn: 329976
This commit is contained in:
parent
cf017f0451
commit
23e82831e5
|
@ -22,6 +22,10 @@
|
|||
#include <iostream>
|
||||
#include "test_iterators.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable: 4146) // unary minus operator applied to unsigned type, result still unsigned
|
||||
#endif
|
||||
|
||||
typedef std::num_get<char, input_iterator<const char*> > F;
|
||||
|
||||
class my_facet
|
||||
|
|
Loading…
Reference in New Issue