-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Closed
Labels
Description
Bugzilla Link | 11131 |
Resolution | FIXED |
Resolved on | Oct 14, 2011 15:34 |
Version | trunk |
OS | All |
Reporter | LLVM Bugzilla Contributor |
CC | @DougGregor,@tkremenek |
Extended Description
The following test case is reduced libc++'s is_constructable. The case causes clang to segfault. This bug arose in a boost test case. It's hard to track down exactly what is going on in boost, because (as always) there are many levels of code, and clang is crashing.
struct S;
struct __any
{
__any(...);
};
template
T& D();
template <class _Tp, class ..._Args>
decltype(D<_Args>()...)
X(_Tp&&, _Args&& ...);
template <class ..._Args>
int
X(__any, _Args&& ...);
decltype(X(D(), D())) j;