http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55842
--- Comment #3 from Marc Glisse 2013-01-01 18:30:52
UTC ---
template struct number {
number() noexcept(noexcept(0)) { }
};
const int z=__has_nothrow_constructor(number<>);
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55842
--- Comment #2 from koraq at xs4all dot nl 2013-01-01 16:11:08 UTC ---
Created attachment 29070
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29070
Sample code to reproduce the problem
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55842
--- Comment #1 from koraq at xs4all dot nl 2013-01-01 16:09:52 UTC ---
Created attachment 29069
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29069
Preprocessed source
The attachment failed the first time (compressed else it is too