// PR c++/69694 // This is a reduced version of decltype74.C. // { dg-do compile { target c++11 } } template using void_t = void; extern void *declval_void; template struct Fun { }; template struct Fun> { void fun(); }; struct Tag { static constexpr void* name = 0; }; template void a() { Fun{}.fun(); } void b() { a(); }