repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR modula2/117371: type incompatibility between INTEGER and CARDINAL
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.robertl
/
eb38.C
blob
e4bcf32b697e149f31a763ff354bfae8855b2f1b
1
// { dg-do assemble }
2
class string
3
{
4
public:
5
string();
6
string(const string& x);
7
string(const char* t);
8
9
~string();
10
};
11
12
void set_status(string message);
13
14
class StatusDelay {
15
private:
16
string cause;
17
18
public:
19
StatusDelay(const string& c)
20
: cause(c)
21
{
22
set_status(cause);
23
}
24
25
~StatusDelay()
26
{
27
set_status(cause);
28
}
29
};
30
31
static char delay_message[] = "Filtering files";
32
33
static void searchRemote()
34
{
35
StatusDelay delay(delay_message);
36
return;
37
}