This can be fixed by making test16 a friend:
Code:
class some
{
	int x;
protected:
	some() { x=90; }

	friend void test16();
};

void test16()
{
	some wibble;
	printf("%d\n",wibble.x);
}