[LLVMbugs] [Bug 19155] New: Compiler Crashed when compiling variadic templates with default template parameter.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Mar 16 00:20:54 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=19155

            Bug ID: 19155
           Summary: Compiler Crashed when compiling variadic templates
                    with default template parameter.
           Product: clang
           Version: 3.2
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++11
          Assignee: unassignedclangbugs at nondot.org
          Reporter: single34 at 126.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Just try compiling this:

#include <iostream>

template <class... T1, class Tuple = std::tuple<T1...>>
void Con(){ std::cout << sizeof...(T1) << std::endl; }

int main()
{ Con<int, bool>(); return 0; }

-- 
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/20140316/4110db03/attachment.html>


More information about the llvm-bugs mailing list