racket/collects/tests/honu/struct-use.honu
2010-10-22 10:48:09 -06:00

13 lines
128 B
Plaintext

#lang honu
// require "struct.honu";
struct foo {a b c};
z = foo(1, 2, 3);
y = 3;
y = 9;
// x = foo(1, 2, 3);
display(z.a);