[LLVMbugs] [Bug 22829] New: Qualification conversion is not considered correctly for pointers to pointers to members

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Mar 6 13:25:59 PST 2015


http://llvm.org/bugs/show_bug.cgi?id=22829

            Bug ID: 22829
           Summary: Qualification conversion is not considered correctly
                    for pointers to pointers to members
           Product: libc++abi
           Version: 3.5
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: david.majnemer at gmail.com
                CC: llvmbugs at cs.uiuc.edu, mclow.lists at gmail.com
    Classification: Unclassified

struct S {};

int main() {
  try {
    throw(int S::**)nullptr;
  } catch (const int S::*const *) {
    return 42;
  }
  return 0;
}

This program should exit with '42' but instead terminates with an uncaught
exception.

-- 
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/20150306/41c5682f/attachment.html>


More information about the llvm-bugs mailing list