RISC-V: Add naked function support.
[official-gcc.git] / libvtv / testsuite / libvtv.cc / mul_inh.cc
blobb32b710c835d352dfdbec75294446d249a5e5f42
1 // { dg-do run }
3 extern "C" int printf(const char *, ...);
5 struct A {
6 virtual ~A() {}
7 };
9 struct B {
10 virtual ~B() {}
13 struct C: public A {
14 virtual ~C() {}
17 struct D: public C, B {
18 virtual ~D() {}
21 D d;
23 int main()
25 printf ("%p\n", &d);
26 return 0;