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.
arf/analyzer/func-section_test.go

19 lines
383 B
Go
Raw Normal View History

2022-10-18 13:00:17 -06:00
package analyzer
import "testing"
func TestFuncSection (test *testing.T) {
checkTree ("../tests/analyzer/funcSection", false,
`
typeSection ro ../tests/analyzer/funcSection.aCString
type 1 pointer {Int}
funcSection ro ../tests/analyzer/funcSection.bArbitrary
block
arbitraryPhrase
command 'puts'
cast
type aCString
arg string 'hellorld` + "\000" + `'
`, test)
}