blob: 60ab34498fde05b7342270c91726f26c005f678d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// { 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]);
}
|