Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
gcc
/
testsuite
/
g++.dg
/
other
/
abstract4.C
blob: 6a8c8c75918d53daa1178a22c411c1d4e5bf5e70 [
file
] [
log
] [
blame
]
// PR c++/51184
template
<
typename
T
>
struct
S
{
};
template
<
typename
T
>
void
foo
();
struct
Abs
{
virtual
void
bar
()
=
0
;
};
int
main
()
{
S
<
Abs
(
int
)>
s
;
foo
<
Abs
(
int
)>();
}