| 1 |
/* Make sure that the H8 backend does align zero initialized variables. */ |
| 2 |
/* { dg-do compile { target h8300-*-* } } */ |
| 3 |
/* { dg-options "" } */ |
| 4 |
|
| 5 |
struct s { |
| 6 |
char a, b; |
| 7 |
long c; |
| 8 |
}; |
| 9 |
|
| 10 |
struct s s = {0}; |
| 11 |
|
| 12 |
/* { dg-final { scan-assembler ".align" } } */ |