Sign in
chromium
/
external
/
github.com
/
WebAssembly
/
binaryen
/
refs/heads/main
/
.
/
test
/
lld
/
em_asm_pthread.cpp
blob: 734057ac5e8874da50e0d21dcd9b29515cf5ba5d [
file
] [
log
] [
blame
] [
edit
]
// Build with
//
// emcc a.cpp -pthread
//
#include
<emscripten.h>
EM_JS
(
void
,
world
,
(),
{
console
.
log
(
"World."
);
});
int
main
()
{
EM_ASM
({
console
.
log
(
"Hello."
);
});
world
();
}