diff options
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/compile/20000224-1.c')
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/20000224-1.c | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/20000224-1.c b/gcc/testsuite/gcc.c-torture/compile/20000224-1.c new file mode 100644 index 000000000..1c72b6acc --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/20000224-1.c @@ -0,0 +1,41 @@ +enum Lisp_Type +{ + Lisp_Int + ,Lisp_Record + ,Lisp_Cons + ,Lisp_String + ,Lisp_Vector + ,Lisp_Symbol + ,Lisp_Char +}; +typedef +union Lisp_Object + { + struct + { + enum Lisp_Type type: 3L ; + unsigned long markbit: 1; + unsigned long val: 32; + } gu; + long i; + } +Lisp_Object; +extern int initialized; +void +init_device_faces (int *d) +{ + if (initialized) + { + Lisp_Object tdevice; + do { + tdevice = (union Lisp_Object) + { gu: + { markbit: 0, + type: Lisp_Record, + val: ((unsigned long )d) + } + }; + } while (0); + call_critical_lisp_code (tdevice); + } +} |