cmd/cue/cmd: verify issue 322 is fixed

Fixes #322

Change-Id: I026d67997e5daec4e833ea75ccf64ec1f965abeb
Reviewed-on: https://cue-review.googlesource.com/c/cue/+/7067
Reviewed-by: CUE cueckoo <cueckoo@gmail.com>
Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>
diff --git a/cmd/cue/cmd/testdata/script/issue322.txt b/cmd/cue/cmd/testdata/script/issue322.txt
new file mode 100644
index 0000000..2767061
--- /dev/null
+++ b/cmd/cue/cmd/testdata/script/issue322.txt
@@ -0,0 +1,16 @@
+! cue vet
+cmp stderr expect-stderr
+
+-- expect-stderr --
+imported and not used: "strings":
+    ./x.cue:2:8
+-- x.cue --
+package x
+import "strings"
+
+foo: "hello"
+
+-- y.cue --
+package x
+
+bar: foo
\ No newline at end of file