Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (19 sloc) 311 Bytes
struct my_struct {
int x;
int y;
int z;
}
int main() {
my_struct s = new my_struct();
s.x = 1;
s.y = 2;
s.z = 3;
print("1..3\n");
print("ok ");
print(s.x);
print("\nok ");
print(s.y);
print("\nok ");
print(s.z);
print("\n");
}