shithub: scc

ref: 6b5ef4c2ebd7ad1d58bd740868b2d8f21336ee60
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();
}