Sign in
gnu
/
gcc
/
57ea00136418991e847e46a6946a81a1df70c9a4
/
.
/
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
);
}