Sign in
fuchsia
/
third_party
/
swig
/
2824b0cbb66e715490e1ef13250bd675d87b32d9
/
.
/
trunk
/
Examples
/
test-suite
/
return_value_scope.i
blob: d7d97a10a0bf3be4c29a538823e5ad4fdeedb04c [
file
] [
log
] [
blame
]
%
module
return_value_scope
%
inline
%{
namespace
Hell
{
class
Foo
{
public
:
Foo
(
int
)
{
};
};
class
Bar
{
public
:
typedef
Foo
fooref
;
};
class
Spam
{
public
:
typedef
Bar
base
;
typedef
base
::
fooref rettype
;
rettype test
()
{
return
rettype
(
1
);
}
};
}
%}