blob: 16e7028a6688f48dd685e436c0b62d19a3f55336 [file] [log] [blame]
// PR c++/22464
template<typename T>
void do_something(const T* A) // { dg-message "declared" }
{
struct helper_t{
helper_t() {
A[0]; // { dg-error "use" }
}
} helper;
}
void sub1() {
double A[7];
do_something (A);
}