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
Merge reload-branch up to revision 101000
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
eh.C
blob
13cbb730c7607ced6cf40323d9e12a626e247218
1
// { dg-do assemble }
2
3
class foo {
4
public:
5
~foo();
6
foo &operator=(const foo &);
7
foo e() const;
8
};
9
class bar {
10
public:
11
foo d() const;
12
};
13
struct x {
14
foo a;
15
bar* b;
16
};
17
void baz(x *f, int ic)
18
{
19
f->a = ic ? f->b->d().e() : f->b->d();
20
}