[llvm-bugs] [Bug 38004] New: Crash of clang for debug build

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Jun 30 07:00:10 PDT 2018


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: unassignedclangbugs at nondot.org
          Reporter: jvapen at gmail.com
                CC: llvm-bugs at lists.llvm.org

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180630/716be25f/attachment-0001.html>


More information about the llvm-bugs mailing list