[LLVMbugs] [Bug 16904] Crash when aliasing a template class that is a member of its template base class.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Aug 15 17:01:43 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=16904
Eli Friedman <sharparrow1 at yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |sharparrow1 at yahoo.com
Resolution|--- |FIXED
--- Comment #1 from Eli Friedman <sharparrow1 at yahoo.com> ---
r188510. We now print:
<stdin>:16:29: error: use 'template' keyword to treat 'derived' as a dependent
template name
using derived = base<T, U>::derived<V>;
^
template
<stdin>:16:17: error: expected a type
using derived = base<T, U>::derived<V>;
^
<stdin>:16:21: error: expected ';' after alias declaration
using derived = base<T, U>::derived<V>;
^
;
Ideally, we would suggest the typename keyword, but this is good enough for the
moment.
--
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/20130816/547ca165/attachment.html>
More information about the llvm-bugs
mailing list