Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGen / vla-2.c
blob894913da3ec73116c62bb7b29f9e5703cbd79523
1 // RUN: %clang_cc1 -std=gnu99 %s -emit-llvm -o - | FileCheck %s
2 // CHECK: alloca {{.*}}, align 16
4 extern void bar(int[]);
6 void foo(int a)
8 int var[a] __attribute__((__aligned__(16)));
9 bar(var);
10 return;