1 // Test for mangling of simple testcase involving construction vtables.
4 // { dg-options "-fno-inline" }
10 struct B: public virtual A { };
11 struct C: public B { };
15 // { dg-final { scan-assembler "\n_?_ZN1A1fEv\[: \t\n\]" } }
16 // { dg-final { scan-assembler "\n_?_ZN1AC2Ev\[: \t\n\]" } }
17 // { dg-final { scan-assembler "\n_?_ZN1BC2Ev\[: \t\n\]" } }
18 // { dg-final { scan-assembler "\n_?_ZN1CC1Ev\[: \t\n\]" } }
19 // { dg-final { scan-assembler "\n_?_ZTC1C0_1B\[: \t\n\]" } }
20 // { dg-final { scan-assembler "\n_?_ZTI1A\[: \t\n\]" } }
21 // { dg-final { scan-assembler "\n_?_ZTI1B\[: \t\n\]" } }
22 // { dg-final { scan-assembler "\n_?_ZTI1C\[: \t\n\]" } }
23 // { dg-final { scan-assembler "\n_?_ZTS1A\[: \t\n\]" } }
24 // { dg-final { scan-assembler "\n_?_ZTS1B\[: \t\n\]" } }
25 // { dg-final { scan-assembler "\n_?_ZTS1C\[: \t\n\]" } }
26 // { dg-final { scan-assembler "\n_?_ZTT1C\[: \t\n\]" } }
27 // { dg-final { scan-assembler "\n_?_ZTV1A\[: \t\n\]" } }
28 // { dg-final { scan-assembler "\n_?_ZTV1C\[: \t\n\]" } }