Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGen / unaligned-decl.c
blob6e35827658f5f76e8389360805d89f114bed3e20
1 // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fms-extensions -emit-llvm < %s | FileCheck %s
3 // CHECK: @a1 ={{.*}} global i32 1, align 1
4 __unaligned int a1 = 1;
6 // CHECK: @a2 ={{.*}} global i32 1, align 1
7 int __unaligned a2 = 1;
9 // CHECK: @a3 = {{.*}} align 1
10 __unaligned int a3[10];
12 // CHECK: @a4 = {{.*}} align 1
13 int __unaligned a4[10];
15 // CHECK: @p1 = {{.*}} align 1
16 int *__unaligned p1;
18 // CHECK: @p2 = {{.*}} align 8
19 int __unaligned *p2;
21 // CHECK: @p3 = {{.*}} align 1
22 int __unaligned *__unaligned p3;