summaryrefslogtreecommitdiff
path: root/test/lit/nominal-func.wast
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2023-04-14 17:54:25 -0700
committerGitHub <noreply@github.com>2023-04-14 17:54:25 -0700
commitd0621e5820b4ce1b72907f5cdb3c68487ce20c60 (patch)
tree60832f328708f01ea6eed4cffc2da95cccc58c70 /test/lit/nominal-func.wast
parent56fe22d30ddd4deac619e41824fc69079dcd7a47 (diff)
downloadbinaryen-d0621e5820b4ce1b72907f5cdb3c68487ce20c60.tar.gz
binaryen-d0621e5820b4ce1b72907f5cdb3c68487ce20c60.tar.bz2
binaryen-d0621e5820b4ce1b72907f5cdb3c68487ce20c60.zip
Remove the --hybrid and --nominal command line options (#5669)
After this change, the only type system usable from the tools will be the standard isorecursive type system. The nominal type system is still usable via the API, but it will be removed entirely in a follow-on PR.
Diffstat (limited to 'test/lit/nominal-func.wast')
-rw-r--r--test/lit/nominal-func.wast26
1 files changed, 0 insertions, 26 deletions
diff --git a/test/lit/nominal-func.wast b/test/lit/nominal-func.wast
deleted file mode 100644
index 600b16bf6..000000000
--- a/test/lit/nominal-func.wast
+++ /dev/null
@@ -1,26 +0,0 @@
-;; NOTE: Assertions have been generated by update_lit_checks.py and should not be edited.
-;; RUN: wasm-opt %s -all --nominal -S -o - | filecheck %s
-;; RUN: wasm-opt %s -all --nominal --roundtrip -S -o - | filecheck %s
-
-(module
- ;; This will be the "canonical" function type rather than $foo_t
- (type $bad_t (func))
-
- ;; CHECK: (type $foo_t (func))
- (type $foo_t (func))
-
- ;; CHECK: (func $foo (type $foo_t)
- ;; CHECK-NEXT: (unreachable)
- ;; CHECK-NEXT: )
- (func $foo (type $foo_t)
- (unreachable)
- )
-
- ;; $foo needs to be assigned type foo_t rather than bad_t for this to validate.
- ;; CHECK: (func $make-ref (type $none_=>_ref|$foo_t|) (result (ref $foo_t))
- ;; CHECK-NEXT: (ref.func $foo)
- ;; CHECK-NEXT: )
- (func $make-ref (result (ref $foo_t))
- (ref.func $foo)
- )
-)