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