Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
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
]);
}