repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash41.C
blob
9a440b0761eb66a5e986a0a25d31bd1c19fbde08
1
// PR c++/22464
2
3
template<typename T>
4
void do_something(const T* A) // { dg-error "declared" }
5
{
6
struct helper_t{
7
helper_t() {
8
A[0]; // { dg-error "use" }
9
}
10
} helper;
11
}
12
13
void sub1() {
14
double A[7];
15
do_something (A);
16
}
17
18