shithub: scc

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