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
PR c++/9335
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
dependent-name1.C
1
// { dg-do compile }
2
3
// Origin: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
4
5
// PR c++/10347: Dependent type checking of array new expression
6
7
void bar (int *);
8
9
template <int> void foo() {
10
bar(new int[1]);
11
}