Sign in
fuchsia
/
third_party
/
swig
/
3f3073547804f2e112085429ddfb691beba5a2ba
/
.
/
Examples
/
test-suite
/
ruby
/
typedef_scope_runme.rb
blob: 4858a2ef6e633f25b0d59726c6e2bbbd3ebc1d86 [
file
] [
log
] [
blame
]
#!/usr/bin/env ruby
#
# Put description here
#
#
#
#
#
require
'swig_assert'
require
'typedef_scope'
b
=
Typedef_scope
::
Bar
.
new
x
=
b
.
test1
(
42
,
"hello"
)
if
x
!=
42
puts
"Failed!!"
end
x
=
b
.
test2
(
42
,
"hello"
)
if
x
!=
"hello"
puts
"Failed!!"
end