! exec cue export ./issue174
cmp stderr expect-stderr

# TODO(mvdan): the filename below lacks the common "./" prefix from other errors.
-- expect-stderr --
build constraints exclude all CUE files in ./issue174:
    issue174/issue174.cue: no package name
-- cue.mod/module.cue --
module: "mod.test"
language: version: "v0.9.0"
-- issue174/issue174.cue --
import 'foo'

a: 1
