~mcf/cproc

ref: 16c718729adfaf40cf22aa4efeafb0d92ef5ee3c cproc/test/bitfield-unnamed-size-align.c -rw-r--r-- 175 bytes
16c71872Michael Forney Prepare for supporting architecture-specific va_list type 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
struct s {
	int : 8;
	char c;
};
union u {
	int : 8;
	char c;
};
int s1 = sizeof(struct s);
int s2 = _Alignof(struct s);
int u1 = sizeof(union u);
int u2 = _Alignof(union u);