mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-04-18 03:00:27 -04:00
Copy pre-increment values into registers
This commit is contained in:
7
inputs/passing/doublePreInc.ts
Normal file
7
inputs/passing/doublePreInc.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
// test_output! 3
|
||||
|
||||
export default function main() {
|
||||
let x = 0;
|
||||
|
||||
return ++x + ++x;
|
||||
}
|
||||
Reference in New Issue
Block a user