[LLVMbugs] [Bug 16975] New: Crash with inherited constructor that uses the class's template parameter pack in a template default argument
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Aug 22 14:02:40 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=16975
Bug ID: 16975
Summary: Crash with inherited constructor that uses the class's
template parameter pack in a template default argument
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: C++11
Assignee: unassignedclangbugs at nondot.org
Reporter: sebastian.redl at getdesigned.at
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
Have a variadic template class. Give it a templated constructor that uses the
parameter pack in a default argument for SFINAE tricks. Inherit that
constructor in a derived class and use it. Boom!
Tested with tip-of-tree Release+Asserts Clang:
clang -cc1 -fsyntax-only -disable-free -O0 -Werror -std=c++11 -x c++
concat-bug2.cpp
--
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/20130822/01c6ae84/attachment.html>
More information about the llvm-bugs
mailing list