URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.law/] [cvt19.C] - Rev 165
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// GROUPS passed conversions
// cvt file
// Message-Id: <1166.9307131600@ace.eng.cam.ac.uk>
// From: ajp@eng.cam.ac.uk
// Date: Tue, 13 Jul 93 17:00:44 BST
class B {};
class A {
public:
operator const B*() const {
return b;
}
private:
B* b;
};
int main()
{
A a;
if (a!=0) {
}
}
Go to most recent revision | Compare with Previous | Blame | View Log