Clean up some of LVI:
[llvm.git] / test / FrontendC / 2005-09-24-BitFieldCrash.c
blobb4c85ffb2d83d8c0dc1505dd84dd05b038d3ec94
1 // RUN: %llvmgcc %s -S -o -
3 struct tree_common {};
5 struct 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;
13 enum XXX { yyy };
15 struct tree_function_decl {
16 struct tree_common common;
17 long long locus, y;
18 __extension__ enum XXX built_in_class : 2;
23 union tree_node {
24 struct tree_int_cst int_cst;
25 struct tree_function_decl function_decl;
29 void foo (union tree_node * decl) {
30 decl->function_decl.built_in_class != 0;