[llvm-bugs] [Bug 29167] New: Assertion failed: (!Init->isValueDependent()), function checkInitIsICE

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Aug 28 08:33:30 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=29167

            Bug ID: 29167
           Summary: Assertion failed: (!Init->isValueDependent()),
                    function checkInitIsICE
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: mt-bugs at markoturk.info
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 17061
  --> https://llvm.org/bugs/attachment.cgi?id=17061&action=edit
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

-- 
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/20160828/022efcdf/attachment.html>


More information about the llvm-bugs mailing list