Added testcase. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11414 626c5289-ae23-0410-ae9c-e8d60b6d4f22
11 lines
185 B
OpenEdge ABL
11 lines
185 B
OpenEdge ABL
%module cpp0x_alternate_function_syntax
|
|
|
|
%inline %{
|
|
struct SomeStruct {
|
|
auto FuncName(int x, int y) -> int;
|
|
};
|
|
|
|
auto SomeStruct::FuncName(int x, int y) -> int {
|
|
return x + y;
|
|
}
|
|
%}
|