shithub: scc

ref: 994751d39485e086ef623f202fb1b84729fd5d19
dir: /tests/cc/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();
}