Debian Codegraph @

gcc/testsuite/g++.dg/torture/pr82084.C

raw
1 // { dg-do compile }
2 // { dg-skip-if "requires hosted libstdc++ for string" { ! hostedlib } }
3
4 #include <string>
5 int main()
6 {
7 wchar_t strs[4][2]= { L"A", L"B", L"C" , L"D"};
8 std::wstring ss(strs[0]);
9 return 0;
10 }