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

19 lines
324 B
Go

package ast
import (
"testing"
)
func TestVAArgExpr(t *testing.T) {
nodes := map[string]Node{
`0x7ff7d314bca8 <col:6, col:31> 'int *'`: &VAArgExpr{
Addr: 0x7ff7d314bca8,
Pos: NewPositionFromString("col:6, col:31"),
Type: "int *",
ChildNodes: []Node{},
},
}
runNodeTests(t, nodes)
}