Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist47.C
blob: 0b34ff91c0cb9365cdf8fc1ed9f2166d55479d02 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
struct
A
{
~
A
()
=
delete
;
};
// { dg-message "declared" }
int
main
()
{
typedef
const
A cA
[
2
];
cA
{};
// { dg-error "deleted" }
}