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