nswrap/ast/translation_unit_decl_test.go
2019-04-09 11:52:21 -04:00

17 lines
273 B
Go

package ast
import (
"testing"
)
func TestTranslationUnitDecl(t *testing.T) {
nodes := map[string]Node{
`0x7fe78a815ed0 <<invalid sloc>> <invalid sloc>`: &TranslationUnitDecl{
Addr: 0x7fe78a815ed0,
ChildNodes: []Node{},
},
}
runNodeTests(t, nodes)
}