summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/compat/struct-layout-1_x2.h
blob: 907a2c9595583c8e95df052964c1cf2197c9b34f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#undef F
#undef N
#undef B
#undef TX
#define F(n, x, v, w) 						\
  if (arg.x != s##n.x) FAIL (n, 30);
#define N(n, x)
#define B(n, x, v, w)						\
  if (arg.x != s##n.x) FAIL (n, 30);
#define TX(n, type, attrs, fields, ops) 			\
void checkx##n (type S##n arg)					\
{								\
  ops								\
}