int main(int argc, char* argv[])
{
	std::clog << "start" << std::endl;
	test_lambda(5);
	std::clog << "after first call" << std::endl;
	test_lambda(20);
	std::clog << "after second call" << std::endl;
	test_lambda(-256);
	std::clog << "after third call" << std::endl;
        return total != -231;
}
예제 #2
0
int main() {
  std::cout << std::boolalpha;
  test_lambda();
  return boost::report_errors();
}