[LLVMbugs] [Bug 23629] New: Crash with constexpr virtual function
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu May 21 21:52:27 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=23629
Bug ID: 23629
Summary: Crash with constexpr virtual function
Product: clang
Version: 3.6
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++11
Assignee: unassignedclangbugs at nondot.org
Reporter: ibenza at i-beam.org
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
clang version 3.6.0 (tags/RELEASE_360/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
Clang++ will crash, when compiling below code with -std=c++11 option. Clang++
clashes also with -std=c++14.
======== CODE ========
struct constexpr_with_virtual {
constexpr virtual void f();
};
constexpr void constexpr_with_virtual::f(){}
======================
--
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/20150522/908c7994/attachment.html>
More information about the llvm-bugs
mailing list