shithub: scc

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