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