Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
depr-copy2.C
blob: cef18b63d4ac7e2063abcfff5ac25c48e982b18e [
file
] [
log
] [
blame
]
// PR c++/86342
// { dg-options -Wdeprecated-copy }
# 1 "deprcopy.cc"
# 1 "deprcopy.h" 1 3
struct
X
{
X
()
{
}
~
X
()
{
}
};
# 2 "deprcopy.cc" 2
int
main
()
{
X x
;
X y
=
x
;
}