shithub: scc

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