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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [parse/] [error28.C] - Blame information for rev 832

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// PR c++/21908
2
 
3
struct virt { virt () {} virt (int i) {} };
4
struct der : public virtual virt { // { dg-error "der" }
5
  der (int i) : virt(i) {} // { dg-error "der" }
6
};
7
struct top : public der {
8
  // { dg-error "der\\(\\)" "" { target *-*-* } 9 }
9
  top () {} // { dg-bogus "der\\(const" }
10
};

powered by: WebSVN 2.1.0

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