]> gcc.gnu.org Git - gcc.git/blame - gcc/testsuite/g++.dg/cpp0x/depr-copy2.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / depr-copy2.C
CommitLineData
b8be1451
JM
1// PR c++/86342
2// { dg-options -Wdeprecated-copy }
3
4# 1 "deprcopy.cc"
5# 1 "deprcopy.h" 1 3
6
7struct X {
8 X() { }
9 ~X() { }
10};
11# 2 "deprcopy.cc" 2
12
13int main()
14{
15 X x;
16 X y = x;
17}
This page took 1.250836 seconds and 5 git commands to generate.