[LLVMbugs] [Bug 13386] New: [C++11] trivial use of variadic templates crashes clang
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Jul 17 14:57:02 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=13386
Bug #: 13386
Summary: [C++11] trivial use of variadic templates crashes
clang
Product: clang
Version: trunk
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: release blocker
Priority: P
Component: C++11
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: eric at boostpro.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
The following code is currently crashing clang for me:
template<typename ...T>
struct foo
{
template<typename ...U>
void bar(T &&...t, U &&... u) {}
};
int main()
{
foo<>().bar(42);
}
It is accepted by gcc 4.7.
--
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