Sign in
gnu
/
gcc
/
refs/tags/releases/gcc-4.6.0
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
defaulted17.C
blob: 79e91a0eb61bb3e1e1d4b422353a91035d71e96f [
file
] [
log
] [
blame
]
// { dg-options -std=c++0x }
struct
A
// { dg-error "const|operator=" }
{
const
int
i
;
};
int
main
()
{
A a
=
{
0
};
a
=
a
;
// { dg-error "deleted" }
}