swig/Examples/test-suite/constructor_explicit.i
William S Fulton 41d404a446 explicit is a C# keyword so the explicit.i testcase fails.
Removed explicit.i altogether and merged test into constructor_explicit.i as it is almost identical.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4899 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 13:14:10 +00:00

19 lines
292 B
OpenEdge ABL

/* Swig 1.3.6 fails to understand the "explicit" keyword.
SF Bug #445233, reported by Krzysztof Kozminski
<kozminski@users.sf.net>.
*/
%module constructor_explicit
%inline %{
class Foo {
public:
explicit Foo() { }
explicit Foo(int) {};
};
Foo test(Foo x) {
return x;
}
%}