Sign in
chromium
/
external
/
github.com
/
WebAssembly
/
binaryen
/
refs/heads/filesystem
/
.
/
test
/
lld
/
em_asm_shared.cpp
blob: ed89783f882e79468d851b0cfda1eb1bccdefe57 [
file
] [
log
] [
blame
] [
edit
]
#include
<emscripten/em_asm.h>
int
main
()
{
EM_ASM
({
Module
.
print
(
"Hello world"
);
});
int
x
=
EM_ASM_INT
({
return
$0
+
$1
;
},
13
,
27
);
EM_ASM_
({
Module
.
print
(
"Got "
+
$0
);
},
x
);
return
0
;
}