// PR c++/50870 // { dg-do compile { target c++11 } } struct impl { template static T create(); }; template()->impl::create())> struct tester{}; tester ti; template()->impl::create())> int test() { return 0; } int i = test();