Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
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>
();