summaryrefslogtreecommitdiffstats
path: root/vendor/cxx/tests/ui/enum_unsatisfiable.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/cxx/tests/ui/enum_unsatisfiable.rs')
-rw-r--r--vendor/cxx/tests/ui/enum_unsatisfiable.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/cxx/tests/ui/enum_unsatisfiable.rs b/vendor/cxx/tests/ui/enum_unsatisfiable.rs
new file mode 100644
index 000000000..619128743
--- /dev/null
+++ b/vendor/cxx/tests/ui/enum_unsatisfiable.rs
@@ -0,0 +1,9 @@
+#[cxx::bridge]
+mod ffi {
+ enum Bad {
+ A = -0xFFFF_FFFF_FFFF_FFFF,
+ B = 0xFFFF_FFFF_FFFF_FFFF,
+ }
+}
+
+fn main() {}