diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2022-11-30 13:13:51 +0100 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2022-12-07 12:18:35 +0100 |
commit | aa9849ba06cb99a5b0917a2e7b33406fe6f76d0c (patch) | |
tree | 440eefac38dcec287ec1cdfd2ee2a2719279b88b /bindgen-tests/tests/headers/virtual_inheritance.hpp | |
parent | a9d41985313f2f4e35a15fe1a94724fb373d051c (diff) |
codegen: Do generate field offset checks for classes with multiple bases.
The bug only affects virtual inheritance, so instead disable layout
tests in the test that we know is broken. Not generating layout tests is
wrong anyways, because the offset would be wrong.
Diffstat (limited to 'bindgen-tests/tests/headers/virtual_inheritance.hpp')
-rw-r--r-- | bindgen-tests/tests/headers/virtual_inheritance.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bindgen-tests/tests/headers/virtual_inheritance.hpp b/bindgen-tests/tests/headers/virtual_inheritance.hpp index 5198c51e..b35378d8 100644 --- a/bindgen-tests/tests/headers/virtual_inheritance.hpp +++ b/bindgen-tests/tests/headers/virtual_inheritance.hpp @@ -1,4 +1,5 @@ - +// bindgen-flags: --no-layout-tests +// FIXME: Enable layout tests when #465 is fixed. class A { int foo; }; |