diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-05-28 04:50:50 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-05-28 04:50:50 -0700 |
commit | a2b42ed8c959aeb15e4225d877f6ccaaedf7df48 (patch) | |
tree | dd751f602d1d7211b2ad8436cb048bd2d2a97cd4 /tests/scons/integration.cpp | |
parent | 57c264d129fb851857814fdefc968eee8c526a0c (diff) | |
parent | 659baab3da606c1fce73adfad0f3d11e6efa7732 (diff) |
Merge pull request #447 from LCID-Fire/incoming
Add small test project for SCons integration.
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); +} |