Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
fntmpdefarg4a.C
blob: 023d9afdf70110bbdb792d9d13ca452bed128049 [
file
] [
log
] [
blame
]
// PR c++/55724
// { dg-do compile { target c++11 } }
template
<
int
N
>
struct
S
{};
template
<
typename
T
=
int
,
T N
=
42
>
void
f
(
S
<
N
>)
{}
int
main
()
{
S
<
1
>
s
;
f
(
s
);
}