#include <iostream>
#include <functional>
using namespace std;

void test() {
	cout << "test" << endl;
}

void call(function<void()> f) {
	f();
}

int main() {
	call(test);
	call([]() { cout << "lambda" << endl; });
	return 0;
}