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

typedef int (*fun)(void);

extern "C" {
int test() { return 0; }
}

int main() {
	fun x = test;
	auto f = std::function< int(void) >(x);
	// your code goes here
	return f();
}