aboutsummaryrefslogtreecommitdiff
path: root/tests/conformance/3-expressions/bstr_compare_unsigned.zc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/conformance/3-expressions/bstr_compare_unsigned.zc')
-rw-r--r--tests/conformance/3-expressions/bstr_compare_unsigned.zc8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/conformance/3-expressions/bstr_compare_unsigned.zc b/tests/conformance/3-expressions/bstr_compare_unsigned.zc
new file mode 100644
index 0000000..df936d6
--- /dev/null
+++ b/tests/conformance/3-expressions/bstr_compare_unsigned.zc
@@ -0,0 +1,8 @@
+// expect: 1/0/
+include rt;
+void pn(int x) { rt.put_n(x); rt.put_c(10); }
+fn main() {
+ pn(b"é" > b"z");
+ pn(b"é" < b"z");
+ return 0;
+}