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
* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.robertl
/
eb81.C
blob
1f05c602c609deb6df2023ffb326e265c56189d3
1
// { dg-do assemble }
2
class x
3
{
4
public:
5
x (int init_buffer_size=0);
6
~x ();
7
};
8
9
10
11
class xSequence
12
{
13
public:
14
xSequence ();
15
~xSequence ();
16
x Get(int index)const;
17
};
18
19
20
21
class foo
22
{
23
public:
24
bool bar(const x & name, x & value);
25
26
};
27
28
29
30
bool foo::bar(const x & name, x & value)
31
{
32
bool result = false;
33
34
xSequence seq;
35
x v1, v2;
36
if(result ? bar(seq.Get(1),v2) : bar(seq.Get(2),v2))
37
38
;
39
40
return result;
41
}
42