Sign in
chromium
/
external
/
github.com
/
WebAssembly
/
binaryen
/
refs/heads/noalpine
/
.
/
test
/
lit
/
binary
/
global-local-get.test
blob: 4253a8bc303df0bdaf4c7c2e8ced53bf2f9efd3d [
file
] [
log
] [
blame
] [
edit
]
RUN
:
not
wasm
-
opt
--
debug
%
s
.
wasm
2
>&
1
|
filecheck
%
s
;;
Check
that we
get
the expected error
for
an input binary that looks like
;;
this
:
;;
;;
(
module
;;
(
global
$g i32
(
local
.
get
0
))
;;
)
;;
CHECK
:
local
.
get
is
only valid
in
a
function
context