summaryrefslogtreecommitdiff
path: root/test/merge/fusing.wast.toMerge
diff options
context:
space:
mode:
Diffstat (limited to 'test/merge/fusing.wast.toMerge')
-rw-r--r--test/merge/fusing.wast.toMerge20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/merge/fusing.wast.toMerge b/test/merge/fusing.wast.toMerge
new file mode 100644
index 000000000..4abd0a5e1
--- /dev/null
+++ b/test/merge/fusing.wast.toMerge
@@ -0,0 +1,20 @@
+(module
+ (import "env" "memoryBase" (global $memoryBase i32))
+ (import "env" "tableBase" (global $tableBase i32))
+ (import "env" "memory" (memory $0 256))
+ (import "env" "table" (table 0 anyfunc))
+ (import "env" "foo" (func $b-foo))
+ (export "bar" (func $bar-func))
+ (global $b-global f64 (f64.const 2.14281428))
+ (export "bglobal" (global $b-global))
+ (import "env" "aglobal" (global $a-global i32))
+ (func $b
+ (call $b-foo)
+ )
+ (func $bar-func
+ (drop (f64.const 3.14159))
+ (drop (get_global $a-global))
+ (drop (get_global $b-global))
+ )
+)
+