Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
template10.C
blob: d5dec6ed1119fe06b09bcd2495abcc2a61db04fa [
file
] [
log
] [
blame
]
// PR c++/9486
// Origin: John Levon <levon@movementarian.org>
// { dg-do compile }
template
<typename>
struct
A
{
template
<
typename
T
>
void
foo
(
T
);
};
template
<
typename
T
>
void
bar
()
{
A
<void>
().
template
foo
<
T
>(
0
);
}
template
void
bar
<int>
();