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.
2022-09-18 06:41:06 +00:00
|
|
|
package analyzer
|
|
|
|
|
|
|
|
import "testing"
|
|
|
|
|
|
|
|
func TestTypeSection (test *testing.T) {
|
|
|
|
checkTree ("../tests/analyzer/typeSection", false,
|
2022-10-01 21:12:43 +00:00
|
|
|
`typeSection ro ../tests/analyzer/typeSection.aBasicInt
|
2022-09-30 00:28:51 +00:00
|
|
|
type 1 basic Int
|
2022-09-30 04:04:28 +00:00
|
|
|
arg uint 5
|
2022-10-01 21:12:43 +00:00
|
|
|
typeSection ro ../tests/analyzer/typeSection.bOnBasicInt
|
|
|
|
type 1 basic aBasicInt
|
|
|
|
typeSection ro ../tests/analyzer/typeSection.cBasicObject
|
|
|
|
type 1 basic Obj
|
|
|
|
member ro that
|
|
|
|
type 1 basic Int
|
|
|
|
member ro this
|
|
|
|
type 1 basic Int
|
2022-09-18 06:41:06 +00:00
|
|
|
`, test)
|
|
|
|
}
|