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@4899 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2003-06-12 13:14:10 +00:00
commit 1ad7cc4bdc
2 changed files with 6 additions and 15 deletions

View file

@ -1,9 +1,15 @@
/* 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) {

View file

@ -1,15 +0,0 @@
/* Swig 1.3.6 fails to understand the "explicit" keyword.
SF Bug #445233, reported by Krzysztof Kozminski
<kozminski@users.sf.net>.
*/
%module "explicit"
%inline %{
class A {
public:
explicit A(int) {};
};
%}