summaryrefslogtreecommitdiff
path: root/Examples/test-suite/overload_copy.i
blob: a685f76e247b640e7736d2b6d2c03762d9360e15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Tests copy constructor
%module overload_copy

#ifndef SWIG_NO_OVERLOAD
%inline %{

class Foo {
public:
    Foo() { }
    Foo(const Foo &) { }
};

%}

#endif