shithub: scc

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