24 lines · cpp
1#include <cstdint>2 3int main(int argc, char **argv) {4 short s = 10;5 unsigned short us = 1;6 7 int x = 2;8 int &ref = x;9 enum Enum { kZero, kOne } enum_one = kOne;10 wchar_t wchar = 1;11 char16_t char16 = 2;12 char32_t char32 = 3;13 14 struct BitFieldStruct {15 char a : 4;16 int b : 32;17 unsigned int c : 32;18 uint64_t d : 48;19 };20 BitFieldStruct bitfield = {1, 2, 3, 4};21 22 return 0; // Set a breakpoint here23}24