1 // RUN: %clang_cc1 -triple arm-none-eabi -ffreestanding -emit-llvm -o - %s | FileCheck %s 2 // RUN: %clang_cc1 -triple aarch64 -ffreestanding -emit-llvm -o - %s | FileCheck %s 3 4 extern struct T { 5 int b0 : 8; 6 int b1 : 24; 7 int b2 : 1; 8 } g; 9 func()10int func() { 11 return g.b1; 12 } 13 14 // CHECK: @g = external global %struct.T, align 4 15 // CHECK: %{{.*}} = load i64, i64* bitcast (%struct.T* @g to i64*), align 4 16