URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc3/] [gcc/] [testsuite/] [g++.dg/] [overload/] [operator1.C] - Rev 516
Compare with Previous | Blame | View Log
typedef struct _GdkDrawable GdkDrawable;
typedef struct _GdkDrawable GdkBitmap;
typedef struct _GdkDrawable GdkPixmap;
class Drawable
{
public:
operator GdkDrawable* () const;
};
class Pixmap : public Drawable
{
public:
operator GdkPixmap* () const;
};
class Bitmap : public Pixmap
{
public:
operator GdkBitmap* () const;
};
class Event
{
};
Bitmap::operator GdkBitmap* () const
{
return 0;
}