xref: /aosp_15_r20/external/clang/test/CodeGen/align-local.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
1*67e74705SXin Li // RUN: %clang_cc1 -emit-llvm < %s | FileCheck %s
2*67e74705SXin Li 
3*67e74705SXin Li typedef struct __attribute((aligned(16))) {int x[4];} ff;
4*67e74705SXin Li 
5*67e74705SXin Li // CHECK: alloca %struct.ff, align 16
6*67e74705SXin Li // CHECK: alloca %struct.anon, align 16
a()7*67e74705SXin Li int a() {
8*67e74705SXin Li   ff a;
9*67e74705SXin Li   struct {int x[4];} b __attribute((aligned(16)));
10*67e74705SXin Li }
11