18 lines · c
1// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fms-extensions -emit-llvm < %s | FileCheck %s2// Test that __unaligned does not impact the layout of the fields.3 4struct A5{6 char a;7 __unaligned int b;8} a;9// CHECK: %struct.A = type { i8, i32 }10 11struct A212{13 int b;14 char a;15 __unaligned int c;16} a2;17// CHECK: %struct.A2 = type { i32, i8, i32 }18