template struct Bad { typename T::doesnotexist x; }; struct X { static Bad b; };