aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/align-local.c
blob: 9e8a56066e1a0686240e1576d1ce602f05ec2c3c (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: %clang_cc1 -emit-llvm < %s | FileCheck %s

typedef struct __attribute((aligned(16))) {int x[4];} ff;

// CHECK: alloca %struct.ff, align 16
// CHECK: alloca %struct.anon, align 16
int a(void) {
  ff a;
  struct {int x[4];} b __attribute((aligned(16)));
}