diff options
Diffstat (limited to 'test/passes/optimize-instructions_all-features.wast')
-rw-r--r-- | test/passes/optimize-instructions_all-features.wast | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/test/passes/optimize-instructions_all-features.wast b/test/passes/optimize-instructions_all-features.wast index e336ac2f9..37d0d7618 100644 --- a/test/passes/optimize-instructions_all-features.wast +++ b/test/passes/optimize-instructions_all-features.wast @@ -4207,14 +4207,15 @@ (unreachable) ) ) + ;; TODO (GC) ;; Tests when if arms are subtype of if's type - (func $if-arms-subtype (result externref) - (if (result externref) - (i32.const 0) - (ref.null) - (ref.null) - ) - ) + ;; (func $if-arms-subtype (result anyref) + ;; (if (result anyref) + ;; (i32.const 0) + ;; (ref.null extern) + ;; (ref.null func) + ;; ) + ;; ) (func $optimize-boolean-context (param $x i32) (param $y i32) ;; 0 - x ==> x (if |