summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/2007-09-26-Alignment.c
blob: 8ab130b0a708abb7ece6262958b153831f2ae276 (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
extern p(int *);
int q(void) {
  // CHECK: alloca i32, align 16
  int x __attribute__ ((aligned (16)));
  p(&x);
  return x;
}