aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2024-06-28 19:56:20 +0200
committerBad Diode <bd@badd10de.dev>2024-06-28 19:56:20 +0200
commit7007afc2c4532326fa3bc32f70b7ad080c880925 (patch)
treecfc0eb8b4d036cf4982a974e0e58b32143fa480a /tests
parent2c22f17074581adfcda4cea9a419add082e6029c (diff)
downloadbdl-7007afc2c4532326fa3bc32f70b7ad080c880925.tar.gz
bdl-7007afc2c4532326fa3bc32f70b7ad080c880925.zip
Add LDVAR to compilation and vm
Diffstat (limited to 'tests')
-rw-r--r--tests/compilation.bad11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/compilation.bad b/tests/compilation.bad
index 120c020..0ffbb06 100644
--- a/tests/compilation.bad
+++ b/tests/compilation.bad
@@ -1,8 +1,11 @@
1let b = 8
1let a = 8 2let a = 8
2{ 3; {
3 let a = 1 + 2 * 4 4; let a = 1 + 2 * 4
4 let b = 3.0 5; let b = 3.0
5} 6; }
7
81 + a
6; 0xf | 0xf0 9; 0xf | 0xf0
7; 0xf & 0xff 10; 0xf & 0xff
8; 0x1 << 2 11; 0x1 << 2