Commit 92e2cbfa by Paolo Carlini Committed by Paolo Carlini

re PR c++/50893 ([C++0x] explicitly defaulted virtual destructor throw specification)

2012-10-05  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/50893
	* g++.dg/cpp0x/defaulted38.C: New.

From-SVN: r192131
parent 236f1042
2012-10-05 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/50893
* g++.dg/cpp0x/defaulted38.C: New.
2012-10-05 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/33763
......@@ -16,7 +21,7 @@
* gcc.dg/attr-alias-5.c: Same.
* gcc.dg/torture/pr51106-2.c: Same.
* gcc.dg/vmx/3b-13.c: Use valid splat index.
2012-10-04 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/52233
......
// PR c++/50893
// { dg-do compile { target c++11 } }
class Base
{
public:
virtual ~Base() = default;
};
class Derived : public Base
{
public:
virtual ~Derived() = default;
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment