Sign in
chromium
/
external
/
github.com
/
kripken
/
emscripten
/
refs/heads/avoid_debugging
/
.
/
tests
/
other
/
test_fflush.cpp
blob: ff7bf91b7664b1551ceb9834e42e2a73959f0c9e [
file
] [
log
] [
blame
] [
edit
]
#include
<emscripten.h>
#include
<stdio.h>
int
main
()
{
printf
(
"Hey1\nHey2"
);
fflush
(
stdout
);
// flushes libc, but does not send out a newline for our JS emitting code, so Hey2 is not printed
return
0
;
}