Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
conversion7.C
blob: 925433ef6f2fa91e64dccfecc3a238596d4da181 [
file
] [
log
] [
blame
]
// { dg-do run }
// Bug: g++ tries to look inside (B*)0 for a virtual base pointer.
struct
A
{
};
struct
B
:
virtual
A
{
};
A
*
a
;
int
main
()
{
a
=
(
B
*)
0
;
}