Clang Project

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