summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.robertl/eb74.C
blob: 5fb821119a2d978736b1c8efedb729ed1c739838 (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
25
26
27
28
29
30
31
32
33
// { dg-do assemble  }
class base {
public:
        virtual ~base();
};


class foo : public base {

public :

     foo (char *cs);

     virtual void op (unsigned char dummy = false);
     unsigned char m_dummy;
};


void foo :: op ( unsigned char dummy)

{
    bool bar;

    if (dummy) {
        foo IT_tempPhase( 0 );
        return;
    }

    if ((m_dummy || bar)) {

    }

}