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

20 lines
405 B
Go
Raw Normal View History

2022-10-18 19:00:17 +00:00
package analyzer
import "testing"
func TestFuncSection (test *testing.T) {
checkTree ("../tests/analyzer/funcSection", false,
2022-10-23 05:16:40 +00:00
`typeSection ro ../tests/analyzer/funcSection.aCString
type 1 pointer {
type 1 basic U8
}
2022-10-18 19:00:17 +00:00
funcSection ro ../tests/analyzer/funcSection.bArbitrary
block
arbitraryPhrase
command 'puts'
2022-10-19 17:27:48 +00:00
castPhrase
2022-10-18 19:00:17 +00:00
type aCString
arg string 'hellorld` + "\000" + `'
`, test)
}