☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
new3.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/new3.C
code
plain
raw
1
// PR c++/85847
2
// { dg-do compile { target c++11 } }
3
4
template <class>
5
int f(int b) { return b; }
6
7
template <class>
8
void g()
9
{
10
auto a = new int[f<int>(2), 2];
11
}