Commit 384278dd by Jason Merrill

new

From-SVN: r23434
parent 72c4a2a6
// Testcase for proper hiding of base conversion ops.
struct A
{
operator const char *();
};
struct B : public A
{
operator const char *() { return 0; }
};
int main( void )
{
B b;
const char *p = b;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment