blob: 6bb0558f0288832dd288cb15331e9b63f9d9fa3d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include <glib.h>
#include <stdio.h>
typedef struct {
guint32 i1 : 1;
guint32 i2 : 31;
} testme;
int main (void) {
printf("guint32:%u ; testme=%u\n", sizeof(guint32), sizeof(testme));
return 0;
}
|