xref: /llvm-project/clang/test/CodeGen/align-local.c (revision 12f78e740c5419f7d1fbcf8f2106e7a40cd1d6f7)
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
7 void a(void) {
8   ff a;
9   struct {int x[4];} b __attribute((aligned(16)));
10 }
11