Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
deleted2.C
blob: 5576be33bef819b092d2b0b3526d770a219e1f6f [
file
] [
log
] [
blame
]
// PR c++/52707
// { dg-do compile { target c++11 } }
struct
A
{
int
m
;
A
()
=
delete
;
};
A a
=
{
1
};
// { dg-error "could not convert" "" { target c++2a } }