1 // PR optimization/6631
6 extern "C" void abort (void);
11 QSize( int w, int h );
13 friend inline const QSize operator+( const QSize &, const QSize & );
19 inline QSize::QSize( int w, int h )
22 inline const QSize operator+( const QSize & s1, const QSize & s2 )
23 { return QSize(s1.wd+s2.wd, s1.ht+s2.ht); }
27 return QSize (100, 200);
30 QSize totalMinimumSize()
32 QSize s = minimumSize();
33 return s + QSize( 0, 0 );
38 QSize s = totalMinimumSize();
39 if (s.wd != 100 || s.ht != 200)