exec cue def -e '#Foo' x.cue
cmp stdout expect-stdout

-- expect-stdout --

_#def
_#def: {
	x: int
	body?: {
		a:  int
		b?: string
	}
}
-- x.cue --
package example

#Foo: {
	x: int
	body?: {
		a: int
		b?: string
	}
}
