blob: 4217a4be6d7745c1b00a175be6e504678d505451 [file] [log] [blame]
#include <stdarg.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
enum C {
X = 2,
Y,
};
typedef uint32_t C;
struct A {
int32_t _0;
};
struct B {
int32_t x;
float y;
};
struct D {
uint8_t List;
uintptr_t Of;
struct B Things;
};
enum F_Tag {
Foo,
Bar,
Baz,
};
typedef uint8_t F_Tag;
struct Bar_Body {
F_Tag tag;
uint8_t x;
int16_t y;
};
union F {
F_Tag tag;
struct {
F_Tag foo_tag;
int16_t foo;
};
struct Bar_Body bar;
};
enum H_Tag {
Hello,
There,
Everyone,
};
typedef uint8_t H_Tag;
struct There_Body {
uint8_t x;
int16_t y;
};
struct H {
H_Tag tag;
union {
struct {
int16_t hello;
};
struct There_Body there;
};
};
enum I_Tag {
ThereAgain,
SomethingElse,
};
typedef uint8_t I_Tag;
struct ThereAgain_Body {
uint8_t x;
int16_t y;
};
struct I {
I_Tag tag;
union {
struct ThereAgain_Body there_again;
};
};
void root(struct A a, struct B b, C c, struct D d, union F f, struct H h, struct I i);