gcc/testsuite/g++.dg/compat/break/vbase10_main.C
raw| 1 | // The offset of virtual base `B' is not ABI-compliant and may change in |
| 2 | // a future version of GCC. |
| 3 | // g++.dg/abi/vbase10.C tests this with -Wabi. |
| 4 | // Split into pieces for binary compatibility testing October 2002 |
| 5 | |
| 6 | #include "vbase10.h" |
| 7 | |
| 8 | extern void vbase10_x (void); |
| 9 | |
| 10 | int |
| 11 | main () |
| 12 | { |
| 13 | vbase10_x (); |
| 14 | } |