modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/20030530-1.c (about)

     1  union tree_node;
     2  typedef union tree_node *tree;
     3  struct tree_common
     4  {
     5    tree type;
     6    unsigned lang_flag_0 : 1;
     7  };
     8  union tree_node
     9  {
    10    struct tree_common common;
    11  };
    12  static void
    13  java_check_regular_methods (tree class_decl)
    14  {
    15    int saw_constructor = class_decl->common.type->common.lang_flag_0;
    16    tree class = class_decl->common.type;
    17    for (;;)
    18      {
    19        if (class)
    20          if (class_decl->common.type)
    21            bar (class);
    22      }
    23  }