about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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) {