[llvm-bugs] [Bug 24612] New: clang accepts "constexpr void f() { throw; }"

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Aug 28 02:27:13 PDT 2015


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

            Bug ID: 24612
           Summary: clang accepts "constexpr void f() {   throw; }"
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: octoploid at yandex.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

clang accepts the following invalid code:

constexpr void f() {
  throw;
}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150828/f3a6c0e3/attachment.html>


More information about the llvm-bugs mailing list