aboutsummaryrefslogtreecommitdiffstats
path: root/test/CFrontend/2004-03-07-BitfieldCrash.c
blob: f94c17e4dd9ad025d7aafbcf7a143b60a0123d1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null

/*
 * XFAIL: linux
 */
struct s {
  unsigned long long u33: 33;
  unsigned long long u40: 40;
};

struct s a = { 1, 2};

int foo() {
  return a.u40;
}