fix issue 10752 - accessing a private cached symbol a second time
doesn't cause an error in __traits(compiles, ...)