summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/pr23467.c
blob: 71ec3da424b4b75902f52b3fd4237e20932cad7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
struct s1
{
  int __attribute__ ((aligned (8))) a;
};

struct
{
  char c;
  struct s1 m;
} v;

int
main (void)
{
  if ((int)&v.m & 7)
    abort ();
  exit (0);
}