We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 844a320 commit 9aea9abCopy full SHA for 9aea9ab
libcxx/test/std/containers/sequences/array/array.creation/to_array.pass.cpp
@@ -82,13 +82,15 @@ constexpr bool tests()
82
assert(arr[i].get() == i && source[i].get() == 0);
83
}
84
85
+#ifndef _MSVC_STL_VERSION
86
// Test C99 compound literal.
87
{
88
auto arr = std::to_array((int[]){3, 4});
89
ASSERT_SAME_TYPE(decltype(arr), std::array<int, 2>);
90
assert(arr[0] == 3);
91
assert(arr[1] == 4);
92
93
+#endif // ! _MSVC_STL_VERSION
94
95
// Test explicit type.
96
0 commit comments