OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2010-02-21 Manuel López-Ibáñez <manu@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash41.C
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