OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.dg/] [parse/] [dtor3.C] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 301 jeremybenn
// { dg-do compile }
2
// Contributed by Wolfgang Bangerth 
3
// PR c++/12335: Make sure we don't ICE on the qualified-id form of a
4
//  destructor call.
5
 
6
struct Y {
7
  ~Y() {}      // { dg-bogus "note" "implemented DR272" { xfail *-*-* } }
8
};
9
 
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
  }
16
};

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.