Sign in
llvm
/
llvm-archive
/
67ca873b99b7e631820d261833301c41ad8006b1
/
.
/
llvm-gcc-4.0
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
spec9.C
blob: e2c5b4e5296b748764e3b22d7dace0d8851229fd [
file
] [
log
] [
blame
]
// { dg-do assemble }
extern
"C"
void
abort
();
template
<
class
T
>
inline
int
f
(
T t
)
{
return
0
;
}
int
main
()
{
if
(!
f
(
3
))
abort
();
}
template
<>
int
f
(
int
i
)
// { dg-error "specialization\[^\n\]*after instantiation" }
{
return
1
;
}