aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/h8300-bss-align-1.c
blob: d6459e15f67a40b543e916161477bfc960bd78c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* Make sure that the H8 backend does align zero initialized variables. */
/* { dg-do compile { target h8300-*-* } } */
/* { dg-options "" } */

struct s {
  char a, b;
  long c;
};

struct s s = {0};

/* { dg-final { scan-assembler ".align" } } */