Sign in
fuchsia
/
third_party
/
swig
/
3f3073547804f2e112085429ddfb691beba5a2ba
/
.
/
Examples
/
test-suite
/
javascript
/
typedef_scope_runme.js
blob: 5c1368ab783b3acbc68714d6141753e3b0470fd0 [
file
] [
log
] [
blame
]
var
typedef_scope
=
require
(
"typedef_scope"
);
b
=
new
typedef_scope
.
Bar
();
x
=
b
.
test1
(
42
,
"hello"
);
if
(
x
!=
42
)
print
(
"Failed!!"
);
x
=
b
.
test2
(
42
,
"hello"
);
if
(
x
!=
"hello"
)
print
(
"Failed!!"
);