Sign in
chromium
/
external
/
github.com
/
WebAssembly
/
binaryen
/
refs/heads/binary-parser-refactor-name-fixup
/
.
/
test
/
lit
/
validation
/
nn-locals-ok.wast
blob: 18696b5cf70561048856276a02226c903db81e88 [
file
] [
log
] [
blame
] [
edit
]
;;
Test
for
validation of non
-
nullable locals
;;
RUN
:
wasm
-
opt
-
all
%
s
--
print
|
filecheck
%
s
;;
CHECK
:
(
module
(
module
(
func $foo
(
param $nn
(
ref
any
))
;;
It
is
ok to read a non
-
nullable param
.
(
drop
(
local
.
get
$nn
)
)
)
)