blob: a7fe7c0441b5996bc2f8268cbfe5e8d1a1d73ef4 [file] [log] [blame]
// PR c++/46903
struct A {};
struct B {
void *(*a)();
};
template <typename T> void *CreateA() { return 0; }
B b = {CreateA<A>};