summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/align-local.c
blob: b839ee14a10be4234f8b6526d3c9710f52811981 (about) (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1 -emit-llvm < %s | grep "align 16" | count 2

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

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