aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/align-local.c
blob: a88dd1637a7422488a7b38e8644c289d9f593355 (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
void a(void) {
  ff a;
  struct {int x[4];} b __attribute((aligned(16)));
}