---
cases:
  - note: evaltermexpr/ref undefined
    query: data.generated.p = x
    modules:
      - |
        package generated

        p if {
        	data.deadbeef[i]
        }
    data: {}
    want_result: []
