summaryrefslogtreecommitdiff
path: root/test/lld/em_asm_pthread.cpp
blob: d327bedf286c302d0d4350bc1ff856a14dffd73c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Build with
//
// emcc a.cpp -pthread -s WASM_BIGINT
//

#include <emscripten.h>

EM_JS(void, world, (), { console.log("World."); });

int main() {
  EM_ASM({ console.log("Hello."); });
  world();
}