diff options
Diffstat (limited to 'test/lit/gc-eh.wast')
-rw-r--r-- | test/lit/gc-eh.wast | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/test/lit/gc-eh.wast b/test/lit/gc-eh.wast index df2f3b416..b037086ca 100644 --- a/test/lit/gc-eh.wast +++ b/test/lit/gc-eh.wast @@ -3,17 +3,14 @@ ;; Check that pops of GC types work correctly. ;; RUN: wasm-opt -all %s -S -o - | filecheck %s -;; RUN: wasm-opt -all --nominal %s -S -o - | filecheck %s --check-prefix=NOMNL (module ;; CHECK: (type $A (struct (field (mut i32)))) - ;; NOMNL: (type $A (struct (field (mut i32)))) (type $A (struct (field (mut i32)) )) ;; CHECK: (tag $tagA (param (ref $A))) - ;; NOMNL: (tag $tagA (param (ref $A))) (tag $tagA (param (ref $A))) ;; CHECK: (func $foo (type $none_=>_ref?|$A|) (result (ref null $A)) @@ -29,19 +26,6 @@ ;; CHECK-NEXT: ) ;; CHECK-NEXT: (ref.null none) ;; CHECK-NEXT: ) - ;; NOMNL: (func $foo (type $none_=>_ref?|$A|) (result (ref null $A)) - ;; NOMNL-NEXT: (try $try - ;; NOMNL-NEXT: (do - ;; NOMNL-NEXT: (nop) - ;; NOMNL-NEXT: ) - ;; NOMNL-NEXT: (catch $tagA - ;; NOMNL-NEXT: (return - ;; NOMNL-NEXT: (pop (ref $A)) - ;; NOMNL-NEXT: ) - ;; NOMNL-NEXT: ) - ;; NOMNL-NEXT: ) - ;; NOMNL-NEXT: (ref.null none) - ;; NOMNL-NEXT: ) (func $foo (result (ref null $A)) (try (do |