summaryrefslogtreecommitdiff
path: root/test/FrontendC/2007-04-05-PackedBitFields-2.c
blob: d9db4206c169b57960d0022434da097137afb103 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// RUN: %llvmgcc %s -S -o -

# define pck __attribute__((packed))


struct pck F { 
  unsigned long long i : 12, 
    j : 23, 
    k : 27, 
    l; 
}; 
struct F f1;

void foo() {
	f1.l = 5;
}