aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/binary-constant.c1
-rw-r--r--test/binary-constant.qbe1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/binary-constant.c b/test/binary-constant.c
new file mode 100644
index 0000000..234e116
--- /dev/null
+++ b/test/binary-constant.c
@@ -0,0 +1 @@
+int x = 0b11100100;
diff --git a/test/binary-constant.qbe b/test/binary-constant.qbe
new file mode 100644
index 0000000..d72a76c
--- /dev/null
+++ b/test/binary-constant.qbe
@@ -0,0 +1 @@
+export data $x = align 4 { w 228, }