URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [overload32.C] - Rev 12
Compare with Previous | Blame | View Log
// { dg-do assemble }
// PRMS Id: 7128
class B {};
class D : public B {};
class X {
public:
operator const B & () const;
operator const D & () const;
};
void f( const D & );
void g( const X & x )
{
f( x );
}