shithub: scc

ref: 3bb75beeae0c2155114d96d2ef1fc52c98f2ad3e
dir: /tests/execute/0090-fptr.c/

View raw version
struct S
{
	int	(*fptr)();
};

int
foo()
{
	return 0;
}

int
main()
{
	struct S v;
	
	v.fptr = foo;
	return v.fptr();
}