☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist54.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/initlist54.C
code
plain
raw
1
// PR c++/49355
2
// { dg-do compile { target c++11 } }
3
// { dg-skip-if "requires hosted libstdc++ for string" { ! hostedlib } }
4
5
#include <string>
6
7
struct T {
8
std::string foobar;
9
};
10
11
int main()
12
{
13
T* x = new T({""});
14
}