cue: add test case for Value.ReferencePath at top level
Currently Value.ReferencePath does not work correctly
when the value is a top level expression in a file.
We add a test case for this, to be fixed in a subsequent CL.
Signed-off-by: Roger Peppe <rogpeppe@gmail.com>
Change-Id: I9238a168860c77d167cb9b018ff8fee307698072
Reviewed-on: https://cue.gerrithub.io/c/cue-lang/cue/+/1232507
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>