9 lines
224 B
Plaintext
9 lines
224 B
Plaintext
$st0 struct{x str} = struct{x => "hello",}
|
|
test structlookup($st0, "x") {}
|
|
|
|
$st1 = struct{y => "world",}
|
|
test structlookup($st1, "y") {}
|
|
|
|
$st2 = struct{x => true, y=> 42, z => "hello world",}
|
|
test structlookup($st2, "z") {}
|