summaryrefslogtreecommitdiff
path: root/support/regression/tests/gcc-torture-execute-bf-layout-1.c
blob: 6b69dfea8841129d20ada4fa7d80b037ca7993c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
bf-layout-1.c from the execute part of the gcc torture tests.
*/

#include <testfwk.h>

#if 0 // Enable when SDCC supports bit-fields wider than 16 bits
struct { long f8:8; long f24:24; } a;
struct { long f32:32; } b;
#endif

void
testTortureExecute (void)
{
#if 0
  if (sizeof (a) != sizeof (b))
    ASSERT (0);
  return;
#endif
}