Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / g++.dg / parse / dtor3.C
blob3041ae4a568f9ee93e654a36a9a79b251a96c9ef
1 // { dg-do compile }
2 // Contributed by Wolfgang Bangerth <bangerth at dealii dot org>
3 // PR c++/12335: Make sure we don't ICE on the qualified-id form of a 
4 //  destructor call.
6 struct Y { 
7   ~Y() {}      // { dg-bogus "note" "implemented DR272" { xfail *-*-* } }  
8 };
10 struct X : Y { 
11   ~X() {}      // { dg-bogus "note" "implemented DR272" { xfail *-*-* } }  
12   void f() { 
13     X::~X();   // { dg-bogus "" "implemented DR272" { xfail *-*-* } }  
14     Y::~Y();   // { dg-bogus "" "implemented DR272" { xfail *-*-* } }  
15   }