1 // bindgen-unstable 2 // bindgen-flags: --rustified-enum ".*" 3 4 enum { 5 foo = 4, 6 bar = 8, 7 }; 8 9 typedef unsigned long long EasyToOverflow; 10 const EasyToOverflow k = 0x80000000; 11 12 const EasyToOverflow k_expr = 1ULL << 60; 13 const EasyToOverflow wow = 1ULL << 31; 14 15 const long long BAZ = (1 << foo) | bar; 16 const double fuzz = (1 + 50.0f); 17 const char BAZZ = '5'; 18 const char WAT = '\0'; 19 20 const char* bytestring = "Foo"; 21 const char* NOT_UTF8 = "\xf0\x28\x8c\x28"; 22