Sign in
fuchsia
/
third_party
/
swig
/
5cc90e6f5b321cae8e7290dc055d3e13543a2155
/
.
/
Examples
/
test-suite
/
valuewrapper.i
blob: 289f882de1e450cd23221db4723b5b9eee35097c [
file
] [
log
] [
blame
]
// valuewrapper.i
%
module
valuewrapper
%
inline
%{
template
<
typename
T
>
struct
X
{
X
(
int
)
{}
};
template
<
typename
T
>
struct
Y
{
Y
()
{}
int
spam
(
T t
=
T
(
0
))
{
return
0
;
}
};
%}
%
template
(
Xi
)
X
<int>
;
%
template
(
YXi
)
Y
<
X
<int>
>;