]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/noffi_f32.fromasm.imprecise
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / noffi_f32.fromasm.imprecise
1 (module
2 (type $FUNCSIG$ff (func (param f32) (result f32)))
3 (import "env" "_importf" (func $importf (param f32) (result f32)))
4 (import "env" "memory" (memory $0 256 256))
5 (import "env" "table" (table 0 0 anyfunc))
6 (import "env" "memoryBase" (global $memoryBase i32))
7 (import "env" "tableBase" (global $tableBase i32))
8 (export "main" (func $main))
9 (export "exportf" (func $exportf))
10 (func $exportf (; 1 ;) (param $0 f32) (result f32)
11 (f32.add
12 (get_local $0)
13 (f32.const 1)
14 )
15 )
16 (func $main (; 2 ;) (result i32)
17 (drop
18 (call $importf
19 (f32.const 3.4000000953674316)
20 )
21 )
22 (i32.const 0)
23 )
24 )