blob: 3f421b01970a231de8511f1083ba59bb60eb0201 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
// { 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
)
{
}
}
|