#include #include #include #include #include template struct Foo { const int32_t *something; }; union Bar { enum class Tag : uint8_t { Min, Max, Other, }; struct Min_Body { Tag tag; Foo _0; }; struct Max_Body { Tag tag; Foo _0; }; struct { Tag tag; }; Min_Body min; Max_Body max; }; extern "C" { void root(Bar b); } // extern "C"