Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGen / PR5060-align.c
blob6e65175a7115517c91bdcd7ef4bc942073551a2e
1 // RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
3 // CHECK: @foo.p = internal global i8 0, align 16
4 char *foo(void) {
5 static char p __attribute__((aligned(16)));
6 return &p;
9 void bar(long n) {
10 // CHECK: align 16
11 char p[n] __attribute__((aligned(16)));