Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
spec30.C
blob: 403b812f3e1fdbab55ca41855eaafdcc616ba302 [
file
] [
log
] [
blame
]
// { dg-do compile }
template
<
int
N
>
inline
int
foo
(
int
a
)
{
return
a
;
}
template
<>
inline
int
foo
<
0
>
(
int
a
=
123
)
// { dg-error "default argument" }
{
return
a
+
1
;
}