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