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: unassignedclangb...@nondot.org
          Reporter: enieb...@boost.org
                CC: dgre...@apple.com, llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to