Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
emscripten-core
GitHub Repository: emscripten-core/emscripten
Path: blob/main/test/browser/test_async_compile.c
4150 views
1
/*
2
* Copyright 2017 The Emscripten Authors. All rights reserved.
3
* Emscripten is available under two separate licenses, the MIT license and the
4
* University of Illinois/NCSA Open Source License. Both these licenses can be
5
* found in the LICENSE file.
6
*/
7
8
#include <stdio.h>
9
10
#include <emscripten.h>
11
12
int main() {
13
printf("hello, world!\n");
14
int result = EM_ASM_INT(return Module.sawAsyncCompilation);
15
printf("sawAsyncCompilation => %d\n", result);
16
return result;
17
}
18
19
20