summaryrefslogtreecommitdiff
path: root/test/lit/array-new-fixed.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/lit/array-new-fixed.wast')
-rw-r--r--test/lit/array-new-fixed.wast36
1 files changed, 0 insertions, 36 deletions
diff --git a/test/lit/array-new-fixed.wast b/test/lit/array-new-fixed.wast
deleted file mode 100644
index 60fbc7c93..000000000
--- a/test/lit/array-new-fixed.wast
+++ /dev/null
@@ -1,36 +0,0 @@
-;; NOTE: Assertions have been generated by update_lit_checks.py and should not be edited.
-;; RUN: wasm-opt -all %s -S -o - | filecheck %s
-
-;; Check that we can optionally specify the size of the array.
-(module
- ;; CHECK: (type $array (array i32))
- (type $array (array i32))
- ;; CHECK: (func $test (type $1)
- ;; CHECK-NEXT: (drop
- ;; CHECK-NEXT: (array.new_fixed $array 2
- ;; CHECK-NEXT: (i32.const 0)
- ;; CHECK-NEXT: (i32.const 1)
- ;; CHECK-NEXT: )
- ;; CHECK-NEXT: )
- ;; CHECK-NEXT: (drop
- ;; CHECK-NEXT: (array.new_fixed $array 2
- ;; CHECK-NEXT: (i32.const 0)
- ;; CHECK-NEXT: (i32.const 1)
- ;; CHECK-NEXT: )
- ;; CHECK-NEXT: )
- ;; CHECK-NEXT: )
- (func $test
- (drop
- (array.new_fixed $array
- (i32.const 0)
- (i32.const 1)
- )
- )
- (drop
- (array.new_fixed $array 2
- (i32.const 0)
- (i32.const 1)
- )
- )
- )
-)