13 lines · c
1// RUN: %clang_cc1 -emit-llvm -o - %s2// PR13863typedef unsigned long long uint64_t;4struct X {5 unsigned char pad : 4;6 uint64_t a : 64;7} __attribute__((packed)) x;8 9uint64_t f(void)10{11 return x.a;12}13 1// RUN: %clang_cc1 -emit-llvm -o - %s2// PR13863typedef unsigned long long uint64_t;4struct X {5 unsigned char pad : 4;6 uint64_t a : 64;7} __attribute__((packed)) x;8 9uint64_t f(void)10{11 return x.a;12}13