blob: d6b26f7268e0c44d54858898e9da5fa6a973a14f (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
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"
|