Sign in
◑
Theme
fuchsia
/
third_party
/
swig
/
725bc081da170662b194ca1ff5e7e75144bc0760
/
.
/
Examples
/
test-suite
/
lua
/
struct_initialization_runme.lua
blob: 4acea2cb6317f0f7a271d6e6f999c06170a60cef [
file
]
local
v
=
require
(
"struct_initialization"
)
assert
(
v
.
instanceC1
.
x
==
10
)
assert
(
v
.
instanceD1
.
x
==
10
)
assert
(
v
.
instanceD2
.
x
==
20
)
assert
(
v
.
instanceD3
.
x
==
30
)
assert
(
v
.
instanceE1
.
x
==
1
)
assert
(
v
.
instanceF1
.
x
==
1
)