[fine] OK
This commit is contained in:
parent
50eb7a9673
commit
65fef78c44
10 changed files with 81 additions and 25 deletions
|
|
@ -36,5 +36,6 @@ fun foo(x: f64) {
|
|||
// | 2: FloatAdd
|
||||
// | function << module >> (0 args, 0 locals):
|
||||
// | strings (0):
|
||||
// | code (0):
|
||||
// | code (1):
|
||||
// | 0: PushNothing
|
||||
// |
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
// @compiles-to:
|
||||
// | function << module >> (0 args, 0 locals):
|
||||
// | strings (0):
|
||||
// | code (10):
|
||||
// | code (11):
|
||||
// | 0: PushFloat(1.0)
|
||||
// | 1: PushFloat(2.0)
|
||||
// | 2: FloatMultiply
|
||||
|
|
@ -36,4 +36,5 @@
|
|||
// | 7: FloatMultiply
|
||||
// | 8: FloatAdd
|
||||
// | 9: Discard
|
||||
// | 10: PushNothing
|
||||
// |
|
||||
|
|
|
|||
|
|
@ -1,5 +1,14 @@
|
|||
// @disabled
|
||||
// @concrete:
|
||||
// |
|
||||
|
||||
;
|
||||
|
||||
// @no-errors
|
||||
// @concrete:
|
||||
// | File
|
||||
// | ExpressionStatement
|
||||
// | Semicolon:'";"'
|
||||
// |
|
||||
// @compiles-to:
|
||||
// | function << module >> (0 args, 0 locals):
|
||||
// | strings (0):
|
||||
// | code (1):
|
||||
// | 0: PushNothing
|
||||
// |
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ let y = x * 2;
|
|||
let z = print(y);
|
||||
z;
|
||||
|
||||
// @no-errors
|
||||
// @type: 41 f64
|
||||
// @concrete:
|
||||
// | File
|
||||
|
|
@ -46,7 +47,7 @@ z;
|
|||
// @compiles-to:
|
||||
// | function << module >> (0 args, 0 locals):
|
||||
// | strings (0):
|
||||
// | code (12):
|
||||
// | code (13):
|
||||
// | 0: PushFloat(23.0)
|
||||
// | 1: StoreModule(0)
|
||||
// | 2: LoadModule(0)
|
||||
|
|
@ -59,4 +60,5 @@ z;
|
|||
// | 9: StoreModule(2)
|
||||
// | 10: LoadModule(2)
|
||||
// | 11: Discard
|
||||
// | 12: PushNothing
|
||||
// |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue