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: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
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
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs