git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@13852 626c5289-ae23-0410-ae9c-e8d60b6d4f22
18 lines
326 B
OpenEdge ABL
18 lines
326 B
OpenEdge ABL
/* This test checks whether SWIG correctly parses the new delegating
|
|
constructors.
|
|
*/
|
|
%module cpp0x_delegating_constructors
|
|
|
|
%inline %{
|
|
class A {
|
|
public:
|
|
int a;
|
|
int b;
|
|
int c;
|
|
|
|
A() : A( 10 ) {}
|
|
A(int aa) : A(aa, 20) {}
|
|
A(int aa, int bb) : A(aa, bb, 30) {}
|
|
A(int aa, int bb, int cc) { a=aa; b=bb; c=cc; }
|
|
};
|
|
%}
|