Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
conversion
/
base1.C
blob: e236504ae87164990b72db833d0c3ab6ecdba6a8 [
file
] [
log
] [
blame
]
// PR c++/48749
struct
Tuple3
{
float
x
;
};
struct
Pos
:
virtual
Tuple3
{
};
struct
TexCoords
{
Pos
pos
;
};
template
<
class
T
>
void
eval
(
const
TexCoords
&
coords
)
{
const
Pos
&
pos
=
coords
.
pos
;
pos
.
x
;
}