aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/crash51.C
blob: 3586eb425f782f9afce00fc56cd56d234e0e20b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Build don't link: 
// GROUPS passed old-abort
class obj;

typedef obj *obj_t;

class obj {
public:
    obj( const obj& o );
};   

extern obj nowhere;

class set: public obj {
    unsigned  bit_vector;
public:
    set( const obj& o );
    set&      operator|=( const int q );
};   

enum pin_enum { E_F, O_C, O_D, O_S, P_D, P_U, R, T, A, C };

set t_q = ( ( ( ( ( ( set( nowhere ) |= E_F ) |= O_C ) |= O_D ) |= O_S )
              |= P_U ) |= P_D ) |= T;