URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [lookup/] [scoped8.C] - Rev 154
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do compile }
// Origin: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
// PR c++/10371: Incorrect tree node built in
// finish_non_static_data_member.
struct A
{
int i; // { dg-error "object missing" }
};
template <int> struct B
{
int foo() { return A::i; } // { dg-error "this location" }
};
Go to most recent revision | Compare with Previous | Blame | View Log