1// PR c++/53599 2 3template <typename T> 4int foo () 5{ 6 struct F; 7 struct G 8 { 9 static int F::* bar(); 10 }; 11 12 return sizeof(G); 13} 14 15int z = foo <int> (); 16