☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
objc.dg
/
gnu-encoding
/
struct-layout-1_test.h
☽
☼
gcc/testsuite/objc.dg/gnu-encoding/struct-layout-1_test.h
code
plain
raw
1
#include "struct-layout-1.h"
2
3
#define TX(n, type, attrs, fields, ops) \
4
type S##n { fields } attrs; \
5
void test##n (void) \
6
{ \
7
if (objc_sizeof_type (@encoding (type S##n)) != sizeof(type S##n)) \
8
fails ++; \
9
}