Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
dependent-name1.C
blob: 60ab34498fde05b7342270c91726f26c005f678d [
file
] [
log
] [
blame
]
// { dg-do compile }
// Origin: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
// PR c++/10347: Dependent type checking of array new expression
void
bar
(
int
*);
template
<int>
void
foo
()
{
bar
(
new
int
[
1
]);
}