Gcc compiles the following fragment without errors.
clang++ crashes with the following assertion failure at SemaTemplateInstantiateDecl.cpp:2219.
The fragment was reduced from a boost header file.
====================
template
struct class_has_move_assign
{
class type
{
typedef T E;
template // subsitute T for E and bug goes away
struct sfinae { };
Extended Description
Gcc compiles the following fragment without errors.
clang++ crashes with the following assertion failure at SemaTemplateInstantiateDecl.cpp:2219.
The fragment was reduced from a boost header file.
==================== template // subsitute T for E and bug goes away
struct sfinae { };
struct class_has_move_assign {
class type { typedef T E;
template
}; };