https://llvm.org/bugs/show_bug.cgi?id=25969

Reid Kleckner <r...@google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
                 CC|                            |r...@google.com
         Resolution|---                         |FIXED

--- Comment #14 from Reid Kleckner <r...@google.com> ---
This does not crash with a recent clang.

$ source test-a50d6e.sh
In file included from test.cpp:1:
In file included from /usr/bin/../include/c++/v1/iostream:38:
In file included from /usr/bin/../include/c++/v1/ios:216:
In file included from /usr/bin/../include/c++/v1/__locale:15:
/usr/bin/../include/c++/v1/string:1938:44: error: 'basic_string<_CharT,
_Traits, _Allocator>' is missing exception specification
'noexcept(is_nothrow_copy_constructible<allocator_type>::value)'
basic_string<_CharT, _Traits, _Allocator>::basic_string(const allocator_type&
__a)
                                           ^
/usr/bin/../include/c++/v1/string:1326:40: note: previous declaration is here
    _LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type& __a)
                                       ^
1 error generated.

Exception specification handling has changed since 3.7, and I think this has
been fixed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to