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: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs