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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [parse/] [error28.C] - Blame information for rev 307

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

Line No. Rev Author Line
1 301 jeremybenn
// { dg-options "-fshow-column -ansi -pedantic-errors -Wno-long-long" }
2
// PR c++/21908
3
 
4
struct virt { virt () {} virt (int i) {} };
5
struct der : public virtual virt { // { dg-message "34:der::der" }
6
  der (int i) : virt(i) {} // { dg-message "3:candidates are: der" }
7
};
8
struct top : public der {
9
  top () {} // { dg-bogus "der\\(const" }
10
};
11
// { dg-error "10:no matching function for call to 'der" "" { target *-*-* } 9 }

powered by: WebSVN 2.1.0

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