Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist51.C
blob: 9fd750df24855404fa52a4e4ad8055875560e296 [
file
] [
log
] [
blame
]
// PR c++/47184
// { dg-do compile { target c++11 } }
struct
S
{
int
a
;
};
struct
T
{
T
(
S s
)
{}
};
int
main
()
{
T t
(
S
{
1
});
}