shithub: scc

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