| Submitter | Paolo Carlini |
|---|---|
| Date | Oct. 5, 2012, 3:02 p.m. |
| Message ID | <506EF67A.20009@oracle.com> |
| Download | mbox | patch |
| Permalink | /patch/189512/ |
| State | New |
| Headers | show |
Comments
Patch
Index: g++.dg/cpp0x/defaulted38.C =================================================================== --- g++.dg/cpp0x/defaulted38.C (revision 0) +++ g++.dg/cpp0x/defaulted38.C (working copy) @@ -0,0 +1,14 @@ +// PR c++/50893 +// { dg-do compile { target c++11 } } + +class Base +{ + public: + virtual ~Base() = default; +}; + +class Derived : public Base +{ + public: + virtual ~Derived() = default; +};