aboutsummaryrefslogtreecommitdiff
path: root/compiler/tests/parser/def_type_union.good
blob: 297cb4a3dec9d448a399cf93d8901c75a7e909da (plain)
1
2
3
4
5
6
7
8
9

typedef a = union ();
typedef b = union (int x);
typedef c = union (int s_value, uint u_value);
typedef d = union ((int x, int y), long z);
typedef e = union (
    union (int i, float f),
    union ((int x, int y), long z) ints_or_long,
);