[LLVMbugs] [Bug 22474] New: clang incorrectly accepts constexpr variable which is initialized by non-constexpr variable.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Feb 5 01:34:08 PST 2015
http://llvm.org/bugs/show_bug.cgi?id=22474
Bug ID: 22474
Summary: clang incorrectly accepts constexpr variable which is
initialized by non-constexpr variable.
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++11
Assignee: unassignedclangbugs at nondot.org
Reporter: ytj000 at gmail.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
struct A {};
int main() {
A a;
constexpr A b = a;
}
Compiles with clang++ 3.7.0 (trunk 228104). Failed with clang++ 3.5.1 and GCC.
--
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/20150205/af985219/attachment.html>
More information about the llvm-bugs
mailing list