diff options
author | LCID Fire <lcid-fire@gmx.net> | 2012-05-28 13:46:24 +0200 |
---|---|---|
committer | LCID Fire <lcid-fire@gmx.net> | 2012-05-28 13:46:24 +0200 |
commit | 659baab3da606c1fce73adfad0f3d11e6efa7732 (patch) | |
tree | 1f10aacc6c60087c8940bad797ae820ac09232cd /tests/scons/integration.cpp | |
parent | 93192892a18efd70567809bc08e4d2a15635cc0e (diff) |
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); +} |