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++.robertl/] [ebnull-oldcast.C] - Rev 12
Compare with Previous | Blame | View Log
// { dg-do run }
class null {
null (null const&);
void operator& ();
public:
null () {}
template <typename T>
operator T* () const { return 0; }
} const null;
int main ()
{
int *p = (int*) null;
return 0;
}