simulate-thread tests: Silence gdb debuginfod warning
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / initlist-new4.C
blobd7b418426bb45cc54f6d5d7148a1af085735f31b
1 // PR c++/77841
2 // { dg-do compile { target c++11 } }
4 char *p1 = new char[4]{"foo"};
5 char *p2 = new char[5]{"foo"};
6 char *p3 = new char[3]{"foo"}; // { dg-error "too long" }