You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libcxx/test/std/utilities/optional/optional.specalg
Casey Carter 1f4cad9f28 [libc++][test] Silence MSVC warning in std::optional test
`make_optional<string>(4, 'X')` passes `4` (an `int`) as the first argument to `string`'s `(size_t, charT)` constructor, triggering a signed/unsigned mismatch warning when compiling with MSVC at `/W4`. The incredibly simple fix is to instead use an unsigned literal (`4u`).

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@374684 91177308-0d34-0410-b5e6-96231b3b80d8
5 years ago
..
make_optional.pass.cpp [libc++] Fix XFAILs on macOS when exceptions are disabled 6 years ago
make_optional_explicit.pass.cpp [libc++][test] Silence MSVC warning in std::optional test 5 years ago
make_optional_explicit_initializer_list.pass.cpp Support tests in freestanding 6 years ago
swap.pass.cpp libcxx: Rename .hpp files in libcxx/test/support to .h 5 years ago