Optimization 30
This commit is contained in:
parent
51bc1395f8
commit
f1e6ed4ef8
7 changed files with 101 additions and 29 deletions
|
|
@ -20,6 +20,8 @@ int main(){
|
|||
"./test/while.lox".match("1 2 3 2 1 0 1 1 2 3 2 1 0 1 ".replace(' ', '\n'));
|
||||
"./test/fields.lox".match("0 10 ".replace(' ', '\n'));
|
||||
|
||||
"./test/nan!=nan.lox".match("false ".replace(' ', '\n'));
|
||||
|
||||
"./test/ops.lox".match("1\n2\n3\n4\n5\n6\n7\ntrue\nfalse\ntrue\ntrue\nhello, world\n");
|
||||
"./test/shortcircuit.lox".match("true\nAAAA!\nAAAA!\nAAAA?\n");
|
||||
"./test/closure.lox".match("1\n2\n");
|
||||
|
|
|
|||
4
test/nan!=nan.lox
Normal file
4
test/nan!=nan.lox
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
|
||||
var nan = 0 / 0;
|
||||
print nan == nan;
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue