summaryrefslogtreecommitdiff
path: root/test/passes/extract-function_pass-arg=extract@foo.txt
diff options
context:
space:
mode:
authorDerek Schuff <dschuff@chromium.org>2019-05-21 16:08:30 -0700
committerGitHub <noreply@github.com>2019-05-21 16:08:30 -0700
commit9b5e470bcef1c6934ae74457d8094143bad8d74a (patch)
tree2ba2b55a6280cf13020be7e4b119fb05743cce61 /test/passes/extract-function_pass-arg=extract@foo.txt
parent1a3c1a58cc7e97a846f612baf7f74a370980458f (diff)
downloadbinaryen-9b5e470bcef1c6934ae74457d8094143bad8d74a.tar.gz
binaryen-9b5e470bcef1c6934ae74457d8094143bad8d74a.tar.bz2
binaryen-9b5e470bcef1c6934ae74457d8094143bad8d74a.zip
Don't use colons in filenames (#2134)
Windows filenames can't contain colons. Use @ instead for passing arguments to passes.
Diffstat (limited to 'test/passes/extract-function_pass-arg=extract@foo.txt')
-rw-r--r--test/passes/extract-function_pass-arg=extract@foo.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/passes/extract-function_pass-arg=extract@foo.txt b/test/passes/extract-function_pass-arg=extract@foo.txt
new file mode 100644
index 000000000..bb923f470
--- /dev/null
+++ b/test/passes/extract-function_pass-arg=extract@foo.txt
@@ -0,0 +1,9 @@
+(module
+ (type $0 (func))
+ (import "env" "bar" (func $bar))
+ (import "env" "other" (func $other))
+ (export "foo" (func $foo))
+ (func $foo (; 2 ;) (type $0)
+ (call $bar)
+ )
+)