This code causes icpc 16.0.0 (20150815) to report "Internal error loop: assertion failed: find_seq_in_lookup_table: seq_number not found (shared/cfe/edgcpfe/il.cc, line 3997)
// Compile with -std=c++11 #include <vector> struct Value { float m_data; Value( ) : m_data(0.f) {} Value( const Value& other ) { m_data = other.m_data; } Value& operator=( const Value& other ) { m_data = other.m_data; return *this; } }; template <typename T> struct Foo { struct Wrapper { Value m_val { Value() }; }; std::vector<Wrapper> m_vec; Wrapper& get() { m_vec.resize(1); return m_vec[0]; } }; template struct Foo<float>;