1 /* This test checks whether SWIG correctly parses the new delegating 2 constructors. 3 */ 4 %module cpp11_delegating_constructors 5 6 %inline %{ 7 class A { 8 public: 9 int a; 10 int b; 11 int c; 12 A()13 A() : A( 10 ) {} A(int aa)14 A(int aa) : A(aa, 20) {} A(int aa,int bb)15 A(int aa, int bb) : A(aa, bb, 30) {} A(int aa,int bb,int cc)16 A(int aa, int bb, int cc) { a=aa; b=bb; c=cc; } 17 }; 18 %} 19