shithub: scc

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