brintos

brintos / llvm-project-archived public Read only

0
0
Text · 539 B · d687d2f Raw
34 lines · c
1// RUN: %clang_cc1 %s -emit-llvm -o - 2 3struct tree_common {};4 5struct tree_int_cst {6 struct tree_common common;7  struct tree_int_cst_lowhi {8    unsigned long long low;9    long long high;10  } int_cst;11};12 13enum XXX { yyy };14 15struct tree_function_decl {16  struct tree_common common;17  long long locus, y;18  __extension__ enum  XXX built_in_class : 2;19 20};21 22 23union tree_node {24  struct tree_int_cst int_cst;25  struct tree_function_decl function_decl;26};27 28 29void foo (union tree_node * decl) {30  decl->function_decl.built_in_class != 0;31}32 33 34