diff options
Diffstat (limited to 'tests/headers/constant-evaluate.h')
-rw-r--r-- | tests/headers/constant-evaluate.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/headers/constant-evaluate.h b/tests/headers/constant-evaluate.h deleted file mode 100644 index 812553ed..00000000 --- a/tests/headers/constant-evaluate.h +++ /dev/null @@ -1,21 +0,0 @@ -// bindgen-unstable -// bindgen-flags: --rustified-enum ".*" - -enum { - foo = 4, - bar = 8, -}; - -typedef unsigned long long EasyToOverflow; -const EasyToOverflow k = 0x80000000; - -const EasyToOverflow k_expr = 1ULL << 60; -const EasyToOverflow wow = 1ULL << 31; - -const long long BAZ = (1 << foo) | bar; -const double fuzz = (1 + 50.0f); -const char BAZZ = '5'; -const char WAT = '\0'; - -const char* bytestring = "Foo"; -const char* NOT_UTF8 = "\xf0\x28\x8c\x28"; |