[LLVMbugs] [Bug 15804] New: crash with __is_trivially_constructible for class template

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Apr 21 05:47:02 PDT 2013


            Bug ID: 15804
           Summary: crash with __is_trivially_constructible for class
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++11
          Assignee: unassignedclangbugs at nondot.org
          Reporter: hivemaster at hotmail.de
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 10393
  --> http://llvm.org/bugs/attachment.cgi?id=10393&action=edit
clang output

The following snippet crashes Clang:

template<class Iterator>
struct X{
  Iterator p;
  X() : p(Iterator()){}

static_assert(__is_trivially_constructible(X<int*>), "...");

int main(){}

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/20130421/b5ca7806/attachment.html>

More information about the llvm-bugs mailing list