1 2 3 4 5 6 7 8
// PR c++/46903 struct A {}; struct B { void *(*a)(); }; template <typename T> void *CreateA() {} B b = {CreateA<A>};