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
[31/77] Use scalar_int_mode for move2add
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
byval3.C
blob
f56fc124368e9b2868ee73b1775689593c2ddde5
1
// { dg-do assemble }
2
// Test to make sure that value return of classes with cleanups works; it
3
// has been broken at various times on PCC_STATIC_STRUCT_RETURN targets.
4
5
struct A {};
6
7
struct R : virtual A { virtual ~R(); };
8
9
R g();
10
11
void encode()
12
{
13
g();
14
}