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

            Bug ID: 46129
           Summary: Internal error in debug mode
           Product: clang
           Version: 10.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangb...@nondot.org
          Reporter: dominik.stras...@onespin.com
                CC: blitzrak...@gmail.com, dgre...@apple.com,
                    erik.pilking...@gmail.com, llvm-bugs@lists.llvm.org,
                    richard-l...@metafoo.co.uk

Created attachment 23552
  --> https://bugs.llvm.org/attachment.cgi?id=23552&action=edit
Source code

For the attached source, clang++ in debug mode errors out with:
can't implicitly cast lvalue to rvalue with this cast kind
UNREACHABLE executed at
/local/strasser/llvm-10.0.0.src/tools/clang/lib/Sema/Sema.cpp:537!

I think the source is reduced almost to the max.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to