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
2022-10-19 13:27:48 -04:00

21 lines
406 B
Go

package analyzer
import "testing"
func TestFuncSection (test *testing.T) {
checkTree ("../tests/analyzer/funcSection", false,
`
typeSection ro ../tests/analyzer/funcSection.aCString
type 1 pointer {
type 1 basic U8
}
funcSection ro ../tests/analyzer/funcSection.bArbitrary
block
arbitraryPhrase
command 'puts'
castPhrase
type aCString
arg string 'hellorld` + "\000" + `'
`, test)
}