2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-04-24 19:21:12 +08:00
From-SVN: r23434
This commit is contained in:
Jason Merrill 1998-10-29 16:10:23 -05:00
parent 72c4a2a6fb
commit 384278ddcd

@ -0,0 +1,17 @@
// 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;
}