diff options
Diffstat (limited to 'tests/scons/integration.cpp')
-rw-r--r-- | tests/scons/integration.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/scons/integration.cpp b/tests/scons/integration.cpp new file mode 100644 index 00000000..c3d2031a --- /dev/null +++ b/tests/scons/integration.cpp @@ -0,0 +1,14 @@ + +#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); +} |