URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [template/] [crash41.C] - Rev 832
Go to most recent revision | Compare with Previous | Blame | View Log
// PR c++/22464
template<typename T>
void do_something(const T* A) // { dg-error "declared" }
{
struct helper_t{
helper_t() {
A[0]; // { dg-error "use" }
}
} helper;
}
void sub1() {
double A[7];
do_something (A);
}
Go to most recent revision | Compare with Previous | Blame | View Log