summaryrefslogtreecommitdiff
path: root/test/roundtrip/invalid-local-index.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/roundtrip/invalid-local-index.txt')
-rw-r--r--test/roundtrip/invalid-local-index.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/roundtrip/invalid-local-index.txt b/test/roundtrip/invalid-local-index.txt
new file mode 100644
index 00000000..332446dd
--- /dev/null
+++ b/test/roundtrip/invalid-local-index.txt
@@ -0,0 +1,11 @@
+;;; TOOL: run-roundtrip
+;;; FLAGS: --stdout --no-check
+(module
+ (func
+ set_local 0))
+(;; STDOUT ;;;
+(module
+ (type (;0;) (func))
+ (func (;0;) (type 0)
+ set_local 0))
+;;; STDOUT ;;)