Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
new3.C
blob: c388acf552e7165c0560b1b040a064ad0029ef19 [
file
] [
log
] [
blame
]
// PR c++/85847
// { dg-do compile { target c++11 } }
template
<class>
int
f
(
int
b
)
{
return
b
;
}
template
<class>
void
g
()
{
auto
a
=
new
int
[
f
<int>
(
2
),
2
];
}