Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
non-dependent1.C
blob: d85ecb13ae49e2d1c537c1b5e773755816680426 [
file
] [
log
] [
blame
]
// PR c++/8921
// Origin: Chin-Lung Chang <evirt@iis.sinica.edu.tw>
// { dg-do compile }
struct
A
{
template
<
typename
T
>
void
foo
();
};
template
<
typename
T
>
void
bar
(
A
&
a
)
{
a
.
foo
<
T
>();
}
void
baz
()
{
A a
;
bar
<int>
(
a
);
}