// PR c++/60067 template struct A; template struct B { enum { v = 1 }; }; template )> struct C { void f () { void g (int [B::v]); } }; void foo (void) { C().f (); }