Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
qualified-id4.C
blob: 0d97cb868cbf4c07734ce89723cd6874cbbd08bf [
file
] [
log
] [
blame
]
// PR c++/48593
template
<
typename
T
>
struct
foo
{
T data
;
};
template
<
typename
T
>
struct
bar
:
public
foo
<
T
>
{
void
some_func
()
{
T
*
ptr
=
&(
foo
<
T
>::
data
);
}
};
int
main
()
{
bar
<int>
().
some_func
();
}