<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:sepavloff@gmail.com" title="Serge Pavlov <sepavloff@gmail.com>"> <span class="fn">Serge Pavlov</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - Assertion failed: No canonical type for non-dependent class template specialization"
href="https://llvm.org/bugs/show_bug.cgi?id=17646">bug 17646</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>sepavloff@gmail.com
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>WORKSFORME
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - Assertion failed: No canonical type for non-dependent class template specialization"
href="https://llvm.org/bugs/show_bug.cgi?id=17646#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - Assertion failed: No canonical type for non-dependent class template specialization"
href="https://llvm.org/bugs/show_bug.cgi?id=17646">bug 17646</a>
from <span class="vcard"><a class="email" href="mailto:sepavloff@gmail.com" title="Serge Pavlov <sepavloff@gmail.com>"> <span class="fn">Serge Pavlov</span></a>
</span></b>
<pre>With current ToT (r276120) no crash is observed:
17646.cpp:5:12: error: use 'template' keyword to treat 'O' as a dependent
template name
void L<k>::O<T>::Fun() {}
^
template
17646.cpp:5:12: error: 'O' following the 'template' keyword does not refer to a
template
void L<k>::O<T>::Fun() {}
^
17646.cpp:5:12: warning: variable templates are a C++14 extension
[-Wc++14-extensions]
17646.cpp:5:12: error: no member named 'O' in 'L<>'
void L<k>::O<T>::Fun() {}
~~~~~~^
17646.cpp:5:13: error: expected ';' at end of declaration
void L<k>::O<T>::Fun() {}
^
;
17646.cpp:5:13: error: expected unqualified-id
17646.cpp:6:7: error: no type named 'O' in 'L<0>'
L<0>::O<int>::Fun();
~~~~~~^
17646.cpp:6:8: error: expected unqualified-id
L<0>::O<int>::Fun();
^
1 warning and 7 errors generated.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>