new tests

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4269 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2003-02-07 22:16:55 +00:00
commit 08705104df
3 changed files with 20 additions and 1 deletions

View file

@ -0,0 +1,13 @@
%module cast_operator
%inline %{
struct A
{
operator char*() const;
};
inline
A::operator char*() const
{ return "hi"; }
%}