19 lines
317 B
Go
19 lines
317 B
Go
|
package ast
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
func TestElaboratedType(t *testing.T) {
|
||
|
nodes := map[string]Node{
|
||
|
`0x7f873686c120 'union __mbstate_t' sugar`: &ElaboratedType{
|
||
|
Addr: 0x7f873686c120,
|
||
|
Type: "union __mbstate_t",
|
||
|
Tags: "sugar",
|
||
|
ChildNodes: []Node{},
|
||
|
},
|
||
|
}
|
||
|
|
||
|
runNodeTests(t, nodes)
|
||
|
}
|