summaryrefslogtreecommitdiff
path: root/support/regression/tests/bug1426356.c
blob: 01caa6ae3eb5ed2e3c76e11c8aa9b07b1002e014 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
   bug1426356.c
*/

#include <testfwk.h>

const union pu {
  unsigned char t1;
  unsigned char t2;
} tst[2] = {{ 1 }, { 2 }};

void
test_1426356(void)
{
  ASSERT( tst[0].t1 == 1 );
  ASSERT( tst[0].t2 == 1 );
  ASSERT( tst[1].t1 == 2 );
  ASSERT( tst[1].t2 == 2 );
}