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

            Bug ID: 39831
           Summary: Failure to compile code with ref-qualified conversion
                    operator
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++11
          Assignee: unassignedclangb...@nondot.org
          Reporter: kristian.spangs...@gmail.com
                CC: blitzrak...@gmail.com, dgre...@apple.com,
                    erik.pilking...@gmail.com, llvm-bugs@lists.llvm.org,
                    richard-l...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to