Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist62.C
blob: d739ea392928ec0e8e633b241c14159d363e1db1 [
file
] [
log
] [
blame
]
// PR c++/51399
// { dg-do compile { target c++11 } }
#include
<initializer_list>
struct
A
{
std
::
initializer_list
<int>
x
[
1
]
=
{
0
};
// { dg-error "could not convert" }
A
()
{}
};