PageRenderTime 21ms CodeModel.GetById 15ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/test-suite/destructor_reprotected.i

#
Swig | 41 lines | 31 code | 10 blank | 0 comment | 0 complexity | 348584e6416fc66c7ba7dab2175ac371 MD5 | raw file
 1%module destructor_reprotected
 2
 3
 4%inline {
 5
 6  struct A
 7  {
 8    A()
 9    {
10    }
11    
12    virtual ~A()
13    {
14    }
15    
16  };
17  
18  struct B : A
19  {
20  protected:
21    B()
22    {
23    }
24    
25    ~B()
26    {
27    }
28    
29  };
30
31  struct C : B
32  {
33    C()
34    {
35    }
36    
37    ~C()
38    {
39    }    
40  };
41}