brintos

brintos / llvm-project-archived public Read only

0
0
Text · 255 B · 5570a5b Raw
19 lines · c
1// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s2 3struct p {4  char a;5  int b;6} __attribute__ ((packed));7 8struct p t = { 1, 10 };9struct p u;10 11int main (void) {12  // CHECK: align 113  // CHECK: align 114  int tmp = t.b;15  u.b = tmp;16  return tmp;17 18}19