about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-08-09 21:56:02 -0700
committerKartik Agaram <vc@akkartik.com>2018-08-09 21:56:02 -0700
commitad1068b3b4ee08654722e52153faf59fe0122561 (patch)
tree455f856c384827f3b88e1011b9f27d8f114603a7
parent90b01a1b277f457914c1a5757ecfde3af4591ab0 (diff)
downloadmu-ad1068b3b4ee08654722e52153faf59fe0122561.tar.gz
4500
-rw-r--r--subx/011run.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/subx/011run.cc b/subx/011run.cc
index 6849daad..8c13b6ba 100644
--- a/subx/011run.cc
+++ b/subx/011run.cc
@@ -258,6 +258,11 @@ $error: 0
 05 -12345
 +error: token '-12345' is not a hex byte
 
+:(scenario hex_prefix)
+== 0x1
+0x05 -0x12
+$error: 0
+
 //: helper for tests
 :(code)
 void parse_and_load(const string& text_bytes) {