mirror of
https://github.com/openharmony/third_party_rust_bindgen.git
synced 2026-08-27 05:31:15 -04:00
a0af678a04
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.
18 lines
242 B
C++
18 lines
242 B
C++
// bindgen-flags: --no-layout-tests
|
|
// FIXME: Enable layout tests when #465 is fixed.
|
|
class A {
|
|
int foo;
|
|
};
|
|
|
|
class B: public virtual A {
|
|
int bar;
|
|
};
|
|
|
|
class C: public virtual A {
|
|
int baz;
|
|
};
|
|
|
|
class D: public C, public B {
|
|
int bazz;
|
|
};
|