shithub: scc

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