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/] [template/] [crash41.C] - Rev 307
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