blob: e4bcf32b697e149f31a763ff354bfae8855b2f1b (
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
37
|
// { dg-do assemble }
class string
{
public:
string();
string(const string& x);
string(const char* t);
~string();
};
void set_status(string message);
class StatusDelay {
private:
string cause;
public:
StatusDelay(const string& c)
: cause(c)
{
set_status(cause);
}
~StatusDelay()
{
set_status(cause);
}
};
static char delay_message[] = "Filtering files";
static void searchRemote()
{
StatusDelay delay(delay_message);
return;
}
|