convert tests; nothing interesting.

R=r
OCL=23012
CL=23014
This commit is contained in:
Russ Cox 2009-01-16 16:12:14 -08:00
parent 9f4a27cbe6
commit f48cbfdf56
82 changed files with 292 additions and 296 deletions

View file

@ -6,18 +6,18 @@
package main
type Item interface
export type Item interface
{
Print();
}
type ListItem struct
export type ListItem struct
{
item Item;
next *ListItem;
}
type List struct
export type List struct
{
head *ListItem;
}
@ -48,7 +48,7 @@ Print()
}
// Something to put in a list
type Integer struct
export type Integer struct
{
val int;
}