Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / abi / covariant1.C
blob203ec2c9fcb237105b0dff03b18bf1fb775d63bf
1 // { dg-do compile }
2 // { dg-options "-w" }
4 // We don't want to use a covariant thunk to have a virtual
5 // primary base
7 struct c4 {};
9 struct c6 : c4 { virtual c4* f17(); };
11 c4* c6::f17() { return 0; }
13 struct c11 : virtual c6 { int i; };
15 struct c12 : c11 { };
17 struct c14 : 
18   virtual c12,
19   virtual c11 { virtual c12* f17(); };
21 // { dg-final { scan-assembler-not "\n_ZTch0_v0_n16_N3c143f17Ev\[: \t\n\]" } }