summaryrefslogtreecommitdiff
path: root/test/passes/duplicate-function-elimination_all-features.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/duplicate-function-elimination_all-features.txt')
-rw-r--r--test/passes/duplicate-function-elimination_all-features.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/passes/duplicate-function-elimination_all-features.txt b/test/passes/duplicate-function-elimination_all-features.txt
index 0c6651b97..aa234da67 100644
--- a/test/passes/duplicate-function-elimination_all-features.txt
+++ b/test/passes/duplicate-function-elimination_all-features.txt
@@ -8,3 +8,13 @@
(ref.func $0)
)
)
+(module
+ (type $none_=>_none (func))
+ (memory $foo 16 16)
+ (global $bar i32 (i32.const 0))
+ (export "memory" (memory $foo))
+ (export "global" (global $bar))
+ (func $bar
+ (nop)
+ )
+)