aboutsummaryrefslogtreecommitdiff
path: root/tests/scons/integration.cpp
blob: c3d2031a4530d5ea0ed8f596f8aa296c0f182cf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);
}