<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:rnk@google.com" title="Reid Kleckner <rnk@google.com>"> <span class="fn">Reid Kleckner</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [fuzz] Assertion `Field->getInClassInitializer() && "initializer hasn't been parsed"' failed."
href="https://bugs.llvm.org/show_bug.cgi?id=21855">bug 21855</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;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [fuzz] Assertion `Field->getInClassInitializer() && "initializer hasn't been parsed"' failed."
href="https://bugs.llvm.org/show_bug.cgi?id=21855#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [fuzz] Assertion `Field->getInClassInitializer() && "initializer hasn't been parsed"' failed."
href="https://bugs.llvm.org/show_bug.cgi?id=21855">bug 21855</a>
from <span class="vcard"><a class="email" href="mailto:rnk@google.com" title="Reid Kleckner <rnk@google.com>"> <span class="fn">Reid Kleckner</span></a>
</span></b>
<pre>Looks like this was fixed. Erich's example gives a proper error like so:
template <class> struct A {
int N = sizeof(A<wchar_t>) / ;
void F() { A<wchar_t> a; }
};
$ clang -cc1 -std=c++11 t.cpp -emit-llvm
t.cpp:3:37: error: expected expression
int N = sizeof (A < wchar_t >) /;
^
1 error generated.
And the original attached test case doesn't crash.</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>