llvm-project/clang/test/CodeGen/vla-2.c

12 lines
213 B
C
Raw Normal View History

// RUN: %clang_cc1 -std=gnu99 %s -emit-llvm -o - | FileCheck %s
// CHECK: alloca {{.*}}, align 16
extern void bar(int[]);
void foo(int a)
{
int var[a] __attribute__((__aligned__(16)));
bar(var);
return;
}