https://bugs.llvm.org/show_bug.cgi?id=38004
Bug ID: 38004
Summary: Crash of clang for debug build
Product: clang
Version: 6.0
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Using Clang-cl (6.0.0) with MSVC2017
Compile command:
clang-cl.exe -fms-compatibility-version=19.11
-Wno-unused-command-line-argument /nologo /c /GR /EHsc /std:c++17 /Od /Z7
t.cpp -w
t.cpp
-----
#include <type_traits>
struct A;
template <typename... T>
struct B
{
};
struct C
{
template <typename... T>
static constexpr auto v = std::conjunction_v<std::is_base_of<A, T>...>;
template <typename... T>
static constexpr auto v<B<T...>> = v<T...>;
};
C c{};
--
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