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/] [eb51.C] - Rev 12
Compare with Previous | Blame | View Log
// { dg-do assemble }
typedef unsigned long Xv_opaque;
class DynaString
{
public:
DynaString();
DynaString( const DynaString& dynaStr );
DynaString( const long n );
~DynaString();
int operator ==( const char* const string ) const;
};
class DDE_Defaults
{
public:
DynaString GetHost();
DynaString GetService();
DynaString GetDatabase();
};
extern DDE_Defaults* ddeDefaults;
void
f()
{
DynaString tempHost, tempService, tempDatabase;
if( (tempHost = ddeDefaults->GetHost()) == 0
|| (tempService = ddeDefaults->GetService()) == 0
|| (tempDatabase = ddeDefaults->GetDatabase()) == 0
)
{
}
}