Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
sizeof8.C
blob: bed68f9d16e86ddb2216452f16b2746634f3987e [
file
] [
log
] [
blame
]
// { dg-do compile }
// Testcase by: bangerth@dealii.org
// PR c++/11406: ICE
template
<int>
struct
S
{};
template
<
int
N
>
S
<
sizeof
(
new
double
[
N
])>
f
()
{
return
S
<
sizeof
(
new
double
[
N
])>();
}
template
S
<
sizeof
(
void
*)>
f
<
2
>();