shithub: scc

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