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