URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [overload/] [operator1.C] - Rev 694
Go to most recent revision | 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;
}
Go to most recent revision | Compare with Previous | Blame | View Log