aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/compat/struct-layout-1_main.c
blob: b59453e0b1075f3f2c7a048ef1a33dfa5a71c60e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* { dg-prune-output ".*-Wno-abi.*" } */

#include "struct-layout-1.h"

#define TX(n, type, attrs, fields, ops) extern void test##n (void);
#include "struct-layout-1_test.h"
#undef TX

int main (void)
{
#define TX(n, type, attrs, fields, ops)   test##n ();
#include "struct-layout-1_test.h"
#undef TX
  if (fails)
    abort ();
  exit (0);
}