// PR c++/108104 // { dg-do compile { target c++11 } } struct A { void x(); void y(); }; enum State { On }; template struct B { static void f(); }; template struct B { static void g(); }; template struct B { static void h(); }; int main() { B::f(); B::g(); B::h(); }