blob: 277492c0601188735e41eadb75861beffe8b4958 [file] [log] [blame]
Ulrich Weigandb63f7792015-04-21 17:26:18 +00001// RUN: %clang_cc1 -triple s390x-linux-gnu -emit-llvm %s -o - | FileCheck %s
2
3// SystemZ prefers to align all global variables to two bytes.
4
5struct test {
6 signed char a;
7};
8
9char c;
10// CHECK-DAG: @c = common global i8 0, align 2
11
12struct test s;
13// CHECK-DAG: @s = common global %struct.test zeroinitializer, align 2
14