shithub: scc

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