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