This repository has been archived on 2024-02-27. You can view files and clone it, but cannot push or open issues or pull requests.
|
package parser
|
|
|
|
import "testing"
|
|
|
|
func TestType (test *testing.T) {
|
|
checkTree ("../tests/parser/type",
|
|
`:arf
|
|
---
|
|
type ro Basic:Int
|
|
type ro BasicInit:Int 6
|
|
type ro IntArray:{Int ..}
|
|
type ro IntArrayInit:{Int 3}
|
|
3298
|
|
923
|
|
92
|
|
`, test)
|
|
}
|