summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/compat/struct-align-2_main.c
blob: b1dece1b7294b248e1f95f6caf7a87cee57d82da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* Test compatibility of structure layout and alignment for a struct
   containing an int and a long long, with various combinations of
   packed and aligned attributes.  The struct is from the Linux kernel.  */

extern void struct_align_2_x (void);
extern void exit (int);
int fails;

int
main ()
{
  struct_align_2_x ();
  exit (0);
}