http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52599

             Bug #: 52599
           Summary: illegal constexpr constructor declaration make g++
                    assert instead of returning an error
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: mickael.gu...@st.com


Created attachment 26902
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26902
This test make g++ to assert

when compiling attach file with 'g++ -std=c++0x test.cpp' compiler assert in
build_constexpr_constructor_member_initializers function from cp/semantics.c.
g++ should instead return an error since construct is illegal.

Reply via email to