---
cases:
  - note: "eqexpr/undefined: array var 2"
    query: data.generated.p = x
    modules:
      - |
        package generated

        p if {
        	[1, x, 3] = [1, 2, x]
        }
    data: {}
    want_result: []
