// PR c++/105623 // { dg-do compile { target c++14 } } template auto g(T fn) { } template struct base { static auto value() { } }; struct S : base { static void f() { g(value); } };