1// { dg-do assemble  }
2//980526 bkoz
3// reduced testcase for 980511 brendan qt bug
4
5
6class QTextStream
7{
8public:
9    QTextStream();
10    virtual ~QTextStream();
11
12    enum {
13	skipws	  = 0x0001,
14	left	  = 0x0002,
15	right	  = 0x0004,
16	internal  = 0x0008,
17	bin	  = 0x0010,
18	oct	  = 0x0020,
19	dec	  = 0x0040,
20	hex	  = 0x0080,
21	showbase  = 0x0100,
22	showpoint = 0x0200,
23	uppercase = 0x0400,
24	showpos	  = 0x0800,
25	scientific= 0x1000,
26	fixed	  = 0x2000
27    };
28
29    static const int basefield;
30    static const int adjustfield;
31};
32
33typedef QTextStream QTS;
34const int QTS::basefield   = (QTS::bin | QTS::dec | QTS::hex) ;
35const int QTS::adjustfield = QTS::left | QTS::right | QTS::internal;
36#if 0
37#define QTS QTextStream
38const int QTS::basefield   = (QTS::bin | QTS::dec | QTS::hex) ;
39const int QTS::adjustfield = QTS::left | QTS::right | QTS::internal;
40#endif
41
42
43
44
45