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
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
cleanup4.C
blob
8bdaa1977807f4490cc924d30bd3da968a5ea613
1
// { dg-do assemble }
2
// { dg-options "-O2 -fno-exceptions" }
3
// Origin: Jakub Jelinek <jakub@redhat.com>
4
5
class foo
6
{
7
public:
8
foo ();
9
~foo ();
10
};
11
12
class bar
13
{
14
public:
15
bar ();
16
bar (const foo&);
17
};
18
19
int i;
20
foo f ();
21
22
inline bar x ()
23
{
24
switch (i)
25
{
26
case 0: return bar (f ());
27
default: return bar ();
28
}
29
}
30
31
bar y ()
32
{
33
return x ();
34
}