This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/58848] constexpr function allows throw
- From: "mib.bugzilla at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 22 Oct 2013 19:50:03 +0000
- Subject: [Bug c++/58848] constexpr function allows throw
- Auto-submitted: auto-generated
- References: <bug-58848-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58848
--- Comment #1 from mib.bugzilla at gmail dot com ---
Created attachment 31073
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31073&action=edit
simpler test case gets compilation error (good)
both test cases should get a compilation error because of the throw.