9b5dd80d84
This is technically a breaking change for C++, unfortunately. Fixes #423.
22 lines
264 B
C
22 lines
264 B
C
#include <stdarg.h>
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
#include <stdlib.h>
|
|
|
|
typedef enum Foo_Tag {
|
|
A,
|
|
} Foo_Tag;
|
|
|
|
typedef struct A_Body {
|
|
float _0[20];
|
|
} A_Body;
|
|
|
|
typedef struct Foo {
|
|
Foo_Tag tag;
|
|
union {
|
|
A_Body a;
|
|
};
|
|
} Foo;
|
|
|
|
void root(Foo a);
|