i128_10_struct_storage.c (288B)
1 typedef unsigned __int128 u128; 2 3 struct Box { 4 int a; 5 u128 x; 6 int b; 7 }; 8 9 int test_main(void) { 10 struct Box box; 11 box.a = 5; 12 box.x = ((u128)0x1234ULL << 64) | 39; 13 box.b = 8; 14 if ((unsigned long long)(box.x >> 64) != 0x1234ULL) return 11; 15 return box.a + (int)box.x + box.b; 16 }