Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
overload13.C
blob: 1ceb99f14e46e9b277911cd4bbb802cfd403f550 [
file
] [
log
] [
blame
]
// { dg-do assemble }
struct
A
{
template
<
class
T
>
int
f
(
T
)
{
return
0
;
}
int
f
(
int
)
{
return
1
;
}
};
int
main
()
{
A a
;
return
a
.
template
f
(
0
);
// { dg-error "template" "" { target { ! c++11 } } }
}