summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/complexBinaryNames.wasmbin0 -> 73 bytes
-rw-r--r--test/complexBinaryNames.wasm.fromBinary11
-rw-r--r--test/complexTextNames.wast4
-rw-r--r--test/complexTextNames.wast.from-wast10
-rw-r--r--test/complexTextNames.wast.fromBinary11
-rw-r--r--test/complexTextNames.wast.fromBinary.noDebugInfo11
6 files changed, 47 insertions, 0 deletions
diff --git a/test/complexBinaryNames.wasm b/test/complexBinaryNames.wasm
new file mode 100644
index 000000000..a29653c86
--- /dev/null
+++ b/test/complexBinaryNames.wasm
Binary files differ
diff --git a/test/complexBinaryNames.wasm.fromBinary b/test/complexBinaryNames.wasm.fromBinary
new file mode 100644
index 000000000..e50a9134d
--- /dev/null
+++ b/test/complexBinaryNames.wasm.fromBinary
@@ -0,0 +1,11 @@
+(module
+ (type $0 (func))
+ (export "$zoo (.bar)" (func $1))
+ (func $foo\20\28.bar\29 (; 0 ;) (type $0)
+ (nop)
+ )
+ (func $1 (; 1 ;) (type $0)
+ (call $foo\20\28.bar\29)
+ )
+)
+
diff --git a/test/complexTextNames.wast b/test/complexTextNames.wast
new file mode 100644
index 000000000..f27ca56b3
--- /dev/null
+++ b/test/complexTextNames.wast
@@ -0,0 +1,4 @@
+(module
+ (func $foo\20\28.bar\29)
+ (func "$zoo (.bar)" (call $foo\20\28.bar\29))
+)
diff --git a/test/complexTextNames.wast.from-wast b/test/complexTextNames.wast.from-wast
new file mode 100644
index 000000000..7ea6975f6
--- /dev/null
+++ b/test/complexTextNames.wast.from-wast
@@ -0,0 +1,10 @@
+(module
+ (type $0 (func))
+ (export "$zoo (.bar)" (func $1))
+ (func $foo\20\28.bar\29 (; 0 ;) (type $0)
+ (nop)
+ )
+ (func $1 (; 1 ;) (type $0)
+ (call $foo\20\28.bar\29)
+ )
+)
diff --git a/test/complexTextNames.wast.fromBinary b/test/complexTextNames.wast.fromBinary
new file mode 100644
index 000000000..e50a9134d
--- /dev/null
+++ b/test/complexTextNames.wast.fromBinary
@@ -0,0 +1,11 @@
+(module
+ (type $0 (func))
+ (export "$zoo (.bar)" (func $1))
+ (func $foo\20\28.bar\29 (; 0 ;) (type $0)
+ (nop)
+ )
+ (func $1 (; 1 ;) (type $0)
+ (call $foo\20\28.bar\29)
+ )
+)
+
diff --git a/test/complexTextNames.wast.fromBinary.noDebugInfo b/test/complexTextNames.wast.fromBinary.noDebugInfo
new file mode 100644
index 000000000..ad2a43c34
--- /dev/null
+++ b/test/complexTextNames.wast.fromBinary.noDebugInfo
@@ -0,0 +1,11 @@
+(module
+ (type $0 (func))
+ (export "$zoo (.bar)" (func $1))
+ (func $0 (; 0 ;) (type $0)
+ (nop)
+ )
+ (func $1 (; 1 ;) (type $0)
+ (call $0)
+ )
+)
+