Sign in
llvm
/
llvm-archive
/
2d92d8f3eda4630e3e80be62081ca797828d58e1
/
.
/
llvm-gcc-4.2
/
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
;
}