[llvm-bugs] [Bug 39831] New: Failure to compile code with ref-qualified conversion operator

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Nov 28 10:59:40 PST 2018


            Bug ID: 39831
           Summary: Failure to compile code with ref-qualified conversion
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++11
          Assignee: unassignedclangbugs at nondot.org
          Reporter: kristian.spangsege at gmail.com
                CC: blitzrakete at gmail.com, dgregor at apple.com,
                    erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
                    richard-llvm at metafoo.co.uk

Created attachment 21172
  --> https://bugs.llvm.org/attachment.cgi?id=21172&action=edit
Code to trigger the bug

The attached core fails to compile with Clang 7.0 (and trunk). It does compile
with GCC 8.2 (and trunk). I would expect it to compile in Clang too.

Live demonstration: https://godbolt.org/z/BSioPr

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/20181128/4f020b96/attachment.html>

More information about the llvm-bugs mailing list