]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/2007-09-26-Alignment.c
Vendor import of clang RELEASE_360/rc2 tag r227651 (effectively, 3.6.0 RC2):
[FreeBSD/FreeBSD.git] / test / CodeGen / 2007-09-26-Alignment.c
1 // RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
2 extern p(int *);
3 int q(void) {
4   // CHECK: alloca i32, align 16
5   int x __attribute__ ((aligned (16)));
6   p(&x);
7   return x;
8 }