shithub: scc

ref: 1b93241842ebf1e5a7efaf62b1fcaf02a7c6d4e5
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();
}