summaryrefslogtreecommitdiff
path: root/test/lit/legacy-static-casts.wast
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2023-08-09 17:18:13 -0400
committerGitHub <noreply@github.com>2023-08-09 21:18:13 +0000
commitc003a01aa855bfa1377237eb2ce788b9fa96e839 (patch)
tree454d2b6de36ea56de5d3e310d81f02155aa73db1 /test/lit/legacy-static-casts.wast
parentd0bdf202463323a0b9f3be95fe2c64765a84a4b7 (diff)
downloadbinaryen-c003a01aa855bfa1377237eb2ce788b9fa96e839.tar.gz
binaryen-c003a01aa855bfa1377237eb2ce788b9fa96e839.tar.bz2
binaryen-c003a01aa855bfa1377237eb2ce788b9fa96e839.zip
Remove legacy WasmGC instructions (#5861)
Remove old, experimental instructions and type encodings that will not be shipped as part of WasmGC. Updating the encodings and text format to match the final spec is left as future work.
Diffstat (limited to 'test/lit/legacy-static-casts.wast')
-rw-r--r--test/lit/legacy-static-casts.wast47
1 files changed, 0 insertions, 47 deletions
diff --git a/test/lit/legacy-static-casts.wast b/test/lit/legacy-static-casts.wast
deleted file mode 100644
index 893fb0a33..000000000
--- a/test/lit/legacy-static-casts.wast
+++ /dev/null
@@ -1,47 +0,0 @@
-;; NOTE: Assertions have been generated by update_lit_checks.py --all-items and should not be edited.
-
-;; Check that the deprecated *_static instruction names are still parsed correctly.
-
-;; RUN: wasm-opt %s -all -S -o - | filecheck %s
-
-(module
- ;; CHECK: (type $none_=>_none (func))
-
- ;; CHECK: (type $struct (struct ))
- (type $struct (struct))
-
- ;; CHECK: (func $test (type $none_=>_none)
- ;; CHECK-NEXT: (drop
- ;; CHECK-NEXT: (ref.test $struct
- ;; CHECK-NEXT: (ref.null none)
- ;; CHECK-NEXT: )
- ;; CHECK-NEXT: )
- ;; CHECK-NEXT: (drop
- ;; CHECK-NEXT: (ref.cast null none
- ;; CHECK-NEXT: (ref.null none)
- ;; CHECK-NEXT: )
- ;; CHECK-NEXT: )
- ;; CHECK-NEXT: (drop
- ;; CHECK-NEXT: (ref.cast_nop none
- ;; CHECK-NEXT: (ref.null none)
- ;; CHECK-NEXT: )
- ;; CHECK-NEXT: )
- ;; CHECK-NEXT: )
- (func $test
- (drop
- (ref.test_static $struct
- (ref.null none)
- )
- )
- (drop
- (ref.cast_static $struct
- (ref.null none)
- )
- )
- (drop
- (ref.cast_nop_static $struct
- (ref.null none)
- )
- )
- )
-)