Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
>();
}