nswrap/ast/transparent_union_attr_test.go

18 lines
290 B
Go
Raw Normal View History

2019-04-09 11:52:21 -04:00
package ast
import (
"testing"
)
func TestTransparentUnionAttr(t *testing.T) {
nodes := map[string]Node{
`0x304f700 <col:35>`: &TransparentUnionAttr{
Addr: 0x304f700,
Pos: NewPositionFromString("col:35"),
ChildNodes: []Node{},
},
}
runNodeTests(t, nodes)
}