Sign in
chromium
/
external
/
github.com
/
kripken
/
emscripten
/
refs/heads/remove-dynamic-alloc
/
.
/
tests
/
scons
/
integration.cpp
blob: c3d2031a4530d5ea0ed8f596f8aa296c0f182cf3 [
file
] [
log
] [
blame
] [
edit
]
#include
<string>
#include
<iostream>
int
main
()
{
std
::
string output
(
"If you see this - the world is all right!"
);
auto
func
=
[=](
std
::
string text
)
->
int
{
std
::
cout
<<
text
<<
std
::
endl
;
return
5
;
};
return
func
(
output
);
}