<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Assertion failed: (!Init->isValueDependent()), function checkInitIsICE"
href="https://llvm.org/bugs/show_bug.cgi?id=29167">29167</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Assertion failed: (!Init->isValueDependent()), function checkInitIsICE
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>FreeBSD
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>-New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mt-bugs@markoturk.info
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=17061" name="attach_17061" title="preprocessed source (gzipped)">attachment 17061</a> <a href="attachment.cgi?id=17061&action=edit" title="preprocessed source (gzipped)">[details]</a></span>
preprocessed source (gzipped)
Hi,
Version: llvm-devel-4.0.d20160824
advmodtest.cpp:54:11: error: unknown type name 'Pero'; did you mean
'Pero::Pero'?
using p = Pero;
^~~~
Pero::Pero
advmodtest.cpp:6:7: note: 'Pero::Pero' declared here
class Pero
^
advmodtest.cpp:56:14: error: definition of type 'p' conflicts with type alias
of the same name
static class p:Pero a = 34;
^
advmodtest.cpp:54:7: note: 'p' declared here
using p = Pero;
^
advmodtest.cpp:56:16: error: expected class name
static class p:Pero a = 34;
^
advmodtest.cpp:56:27: error: expected '{' after base class list
static class p:Pero a = 34;
^
advmodtest.cpp:60:12: error: use of undeclared identifier 'a'
return a;
^
Assertion failed: (!Init->isValueDependent()), function checkInitIsICE, file
/wrkdirs/usr/ports/devel/llvm-devel/work/llvm-5c091363f757f18a715b2a5b02f8f113715fed54/tools/clang/lib/AST/Decl.cpp,
line 2229.
clang-4.0: error: unable to execute command: Abort trap (core dumped)
clang-4.0: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 4.0.0
Target: x86_64-unknown-freebsd10.1
Thread model: posix
InstalledDir: /usr/local/llvm-devel/bin
BR,
Marko</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>