[llvm-bugs] [Bug 30400] New: Inheriting constructor resolving incorrectly.

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Sep 15 11:12:37 PDT 2016


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

            Bug ID: 30400
           Summary: Inheriting constructor resolving incorrectly.
           Product: clang
           Version: 3.9
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++11
          Assignee: unassignedclangbugs at nondot.org
          Reporter: eniebler at boost.org
                CC: dgregor at apple.com, llvm-bugs at lists.llvm.org
    Classification: Unclassified

3.9 fails to compile this code:

  struct R {
    R() noexcept;
  };

  struct S : R {
    using R::R;
    template <class = void>
    S();
  };

  static_assert(!noexcept(S{}), "");

Previous versions accept it, as do all recent versions of gcc. This is possibly
related to https://llvm.org/bugs/show_bug.cgi?id=28885.

-- 
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/20160915/cb64879f/attachment.html>


More information about the llvm-bugs mailing list