The attached patch fixes the testcase in the PR, but unfortunately it causes assertion failures deep inside template instantiation when processing
struct A {};
template<typename Fn> struct X {
typedef Fn A::*p;
};
X<void ()>::p;
Since the first pattern shows up during a bootstrap and the second one
doesn't, I have just applied this patch locally to try to find the
next bug for now.
If it is clear to anyone what the assert during the transformation is
all about, please let me know I will try to fix this bug too.
Cheers,
Rafael
t.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
