OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* gcc.dg/20020201-1.c: Use cleanup-coverage_files.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.eh
/
crash2.C
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 ); }