test/Cheerp/jsexport/param-func-pointer.cpp
[[cheerp::jsexport]][[cheerp::wasm]]
void otherFunc(void(*func)(int,int))
{
	(*func)(5, 7);
}
// CHECK: error: Cheerp: 'wasm' function can't take function pointer as parameter
'wasm' function can't take function pointer as parameter
' wasm ' function can ' t take function pointer as parameter
[[cheerp::jsexport]][[cheerp::wasm]]
void otherFunc(void(*func)(int,int))
{
	(*func)(5, 7);
}
[[ cheerp :: jsexport ]] [[ cheerp :: wasm ]] void otherFunc ( void ( * func ) ( int , int ) ) { ( * func ) ( 5 , 7 ) ; }
CHECK: error: Cheerp: 'wasm' function can't take function pointer as parameter
CHECK : error : Cheerp : ' wasm ' function can ' t take function pointer as parameter