diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/compat/union-init.h')
-rw-r--r-- | gcc/testsuite/gcc.dg/compat/union-init.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/gcc/testsuite/gcc.dg/compat/union-init.h b/gcc/testsuite/gcc.dg/compat/union-init.h deleted file mode 100644 index 5add7b4a800..00000000000 --- a/gcc/testsuite/gcc.dg/compat/union-init.h +++ /dev/null @@ -1,34 +0,0 @@ -/* Function definitions that are used by multiple tests. */ - -#define INIT_CHAR(TYPE) \ - void init##TYPE (TYPE *p, int i) \ - { p->c = (char)i; } - -INIT_CHAR(Ucs) -INIT_CHAR(Uci) -INIT_CHAR(Ucl) -INIT_CHAR(Ucll) - - -#define INIT_SHORT(TYPE) \ - void init##TYPE (TYPE *p, int i) \ - { p->s = (short)i; } - -INIT_SHORT(Usi) -INIT_SHORT(Usl) -INIT_SHORT(Usll) - - -#define INIT_INT(TYPE) \ - void init##TYPE (TYPE *p, int i) \ - { p->i = i; } - -INIT_INT(Uil) -INIT_INT(Uill) - - -#define INIT_LONG(TYPE) \ - void init##TYPE (TYPE *p, int i) \ - { p->l = (long)i; } - -INIT_LONG(Ulll) |