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++.eh
/
crash2.C
blob
195b8623ce162ef6e3eac40c31fdec2c9a356a27
1
// { dg-do assemble }
2
// { dg-options "-O" }
3
// Origin: Thomas Kunert <kunert@physik.tu-dresden.de>
4
5
struct C {
6
~C();
7
};
8
9
struct R {
10
bool empty() const;
11
C m_;
12
};
13
14
struct R1 {
15
R1( const R& a );
16
~R1 ();
17
C m_;
18
};
19
20
R1 get_empty();
21
22
R1::R1( const R& a ) :
23
m_( a.empty() ? get_empty().m_ : C() )
24
{}
25
26
void qnorm( const R & r)
27
{ R1 n( r ); }