Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.eh / crash2.C
blob195b8623ce162ef6e3eac40c31fdec2c9a356a27
1 // { dg-do assemble  }
2 // { dg-options "-O" }
3 // Origin: Thomas Kunert <kunert@physik.tu-dresden.de>
5 struct C {
6     ~C();
7 };    
9 struct R {
10     bool empty() const;
11     C m_;
14 struct R1 {
15     R1( const R& a );
16   ~R1 ();
17     C m_;
20 R1 get_empty();
22 R1::R1( const R& a ) :
23     m_( a.empty() ? get_empty().m_ : C() )
26 void qnorm( const R & r)
27 { R1 n( r ); }