Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist-new5.C
blob: da54d8981d43327fc4c6f424c71cd98074621208 [
file
] [
log
] [
blame
]
// PR c++/99643
// { dg-do compile { target c++11 } }
struct
Foo
{};
Foo
get_foo
();
int
main
()
{
new
Foo
[
1
]{
get_foo
()};
}