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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to