summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/align-local.c
blob: afbe1d5dd0d0b7165d84426b84a6d03ba062bc54 (plain)
1
2
3
4
5
6
7
8
// RUN: clang-cc -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)));
}
OpenPOWER on IntegriCloud