summaryrefslogtreecommitdiff
path: root/Examples/test-suite/constructor_rename.i
blob: 401b07d65aabbad486696784a3761463ec2715dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
%module constructor_rename

%{
struct Foo {
    Foo() {}
};
%}

struct Foo {
    %rename(RenamedConstructor) Foo();
    Foo() {}
};