shithub: scc

ref: 2f307820bc3dab666974d065749aef367982f420
dir: /tests/cc/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();
}