Sign in
fuchsia
/
third_party
/
swig
/
2824b0cbb66e715490e1ef13250bd675d87b32d9
/
.
/
trunk
/
Examples
/
test-suite
/
ruby
/
struct_value_runme.rb
blob: afed418036f415e984f7f0a77fa95ed633de5f5e [
file
] [
log
] [
blame
]
#!/usr/bin/env ruby
#
# Put description here
#
#
#
#
#
require
'swig_assert'
require
'struct_value'
b
=
Struct_value
::
Bar
.
new
b
.
a
.
x
=
3
raise
RuntimeError
if
b
.
a
.
x
!=
3
b
.
b
.
x
=
3
raise
RuntimeError
if
b
.
b
.
x
!=
3