gcc/testsuite/g++.dg/compat/break/empty6_main.C
raw| 1 | // `B::a' contains empty classes which may cause base classes to be |
| 2 | // placed at different locations in a future version of GCC. |
| 3 | // g++.dg/abi/empty6.C tests this with -Wabi. |
| 4 | // Split into pieces for binary compatibility testing October 2002 |
| 5 | |
| 6 | #include "empty6.h" |
| 7 | |
| 8 | extern void empty6_x (void); |
| 9 | |
| 10 | int |
| 11 | main () |
| 12 | { |
| 13 | empty6_x (); |
| 14 | } |