Debian Codegraph @

clang/test/CodeGen/vla-2.c

raw
1 // RUN: %clang_cc1 -std=gnu99 %s -emit-llvm -o - | FileCheck %s
2 // CHECK: alloca {{.*}}, align 16
3
4 extern void bar(int[]);
5
6 void foo(int a)
7 {
8 int var[a] __attribute__((__aligned__(16)));
9 bar(var);
10 return;
11 }