Sign in
fuchsia
/
third_party
/
swig
/
3f3073547804f2e112085429ddfb691beba5a2ba
/
.
/
Examples
/
test-suite
/
javascript
/
struct_value_runme.js
blob: 5b171b8fede00c7c39119a86d4b5d7e8ff80f8bc [
file
] [
log
] [
blame
]
var
struct_value
=
require
(
"struct_value"
);
b
=
new
struct_value
.
Bar
();
b
.
a
.
x
=
3
;
if
(
b
.
a
.
x
!=
3
)
throw
"RuntimeError"
;
b
.
b
.
x
=
3
;
if
(
b
.
b
.
x
!=
3
)
throw
"RuntimeError"