package analyzer
import "testing"
func TestTypeSection (test *testing.T) {
checkTree ("../tests/analyzer/typeSection", false,
`typeSection ro ../tests/analyzer/typeSection/required.aBasic
type 1 basic Int
typeSection ro ../tests/analyzer/typeSection/required.bBird
type 1 basic Obj
member rw wing
uintLiteral 2
typeSection ro ../tests/analyzer/typeSection.aBasicInt
uintLiteral 5
typeSection ro ../tests/analyzer/typeSection.bOnBasicInt
type 1 basic aBasicInt
typeSection ro ../tests/analyzer/typeSection.cBasicObject
member ro that
type 1 basic UInt
member ro this
typeSection ro ../tests/analyzer/typeSection.dInheritFromOther
type 1 basic aBasic
typeSection ro ../tests/analyzer/typeSection.eInheritObject
type 1 basic cBasicObject
typeSection ro ../tests/analyzer/typeSection.fInheritObjectFromOther
type 1 basic bBird
member ro wing
member ro beak
uintLiteral 238
typeSection ro ../tests/analyzer/typeSection.gPointer
type 1 pointer {
}
typeSection ro ../tests/analyzer/typeSection.hDynamicArray
type 1 dynamicArray {
`, test)