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] - Rev 320
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-options "-fshow-column -ansi -pedantic-errors -Wno-long-long" }
// PR c++/21908
struct virt { virt () {} virt (int i) {} };
struct der : public virtual virt { // { dg-message "34:der::der" }
der (int i) : virt(i) {} // { dg-message "3:candidates are: der" }
};
struct top : public der {
top () {} // { dg-bogus "der\\(const" }
};
// { dg-error "10:no matching function for call to 'der" "" { target *-*-* } 9 }
Go to most recent revision | Compare with Previous | Blame | View Log