Function pointers and member function pointers cannot be converted to void*. libc++abi incorrectly allows this conversion for function pointers.
I also flushed out some of the pointer to member function conversion tests.
EricWF on Apr 2 2015, 4:56 PM.Authored by
I expect that output.
I'm confused by the patch because I don't understand how a thrown pointer-to-function could result in is_equal(__pointee, &typeid(void), false)) being true... pointer-to-function's typeid is different than void's (the example output was meant to show that). What causes control to enter the 'then' side of that if in that case?