summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/compat/union-defs.h
blob: 887cd6da8e86512916440e9e8afc5fb0a59e4364 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* Type definitions that are used by multiple tests.  */

typedef union { char c; short s; } Ucs;
typedef union { char c; int i; } Uci;
typedef union { char c; long l; } Ucl;
typedef union { char c; long long ll; } Ucll;

typedef union { short s; int i; } Usi;
typedef union { short s; long l; } Usl;
typedef union { short s; long long ll; } Usll;

typedef union { int i; long l; } Uil;
typedef union { int i; long long ll; } Uill;

typedef union { long l; long long ll; } Ulll;