Sign in
fuchsia
/
third_party
/
swig
/
1915740af8c26720f366162c768c223bddb15c7c
/
.
/
Examples
/
test-suite
/
octave
/
typedef_scope_runme.m
blob: 9e6d1013c6e38aed1a4efee355b4fc9750d8f298 [
file
] [
log
] [
blame
]
typedef_scope
b
=
typedef_scope
.
Bar
();
x
=
b
.
test1
(
42
,
"hello"
);
if
(
x
!=
42
)
error
(
"Failed!!"
)
endif
x
=
b
.
test2
(
42
,
"hello"
);
if
(!
strcmp
(
x
,
"hello"
))
error
(
"Failed!!"
)
endif