Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / CodeGen / vla-3.c
blob66acf58c1feb711489b09ae2111febc5725163d7
1 // RUN: %clang_cc1 -std=gnu99 %s -emit-llvm -o - | FileCheck %s
2 // CHECK: alloca {{.*}}, align 16
4 void adr(char *);
6 void vlaalign(int size)
8 char __attribute__((aligned(16))) tmp[size+32];
9 char tmp2[size+16];
11 adr(tmp);