Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
ubsan
/
pr70147-1.C
blob: f4dd859450df12ddfadf24e9f074d15c9956299a [
file
] [
log
] [
blame
]
// PR c++/70147
// { dg-do run }
// { dg-options "-fsanitize=vptr" }
struct
A
{
A
()
{}
virtual
void
f
()
{}
};
struct
B
:
virtual
A
{
B
()
{}
virtual
void
f
()
{}
};
struct
C
:
B
,
virtual
A
{
C
()
{}
}
c
;
int
main
()
{
}