Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr52742.C
blob: f4d3dec9689a4f093bfdefb5b82f8408074622c3 [
file
] [
log
] [
blame
]
// PR c++/52742
// { dg-do compile { target c++11 } }
void
foo
()
{
new
int
[
1
]
{
1
};
}
template
<
int
A
>
void
goo
()
{
new
int
[
1
]
{
1
};
}
int
main
()
{
foo
();
goo
<
1
>();
}