[LLVMbugs] [Bug 8977] New: Assert on variadic template code

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jan 14 08:23:27 PST 2011


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

           Summary: Assert on variadic template code
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++0x
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: andersca at mac.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


struct A { };

template<typename T, typename... Args> void f(Args... args) {
  T t(args...);
};

template void f<A>();


Asserts with

Assertion failed: (Exprs.size() != 0 && Exprs.get() && "missing expressions"),
function AddCXXDirectInitializerToDecl, file SemaDeclCXX.cpp, line 5528.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list