shithub: scc

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