---
cases:
  - data: {}
    modules:
      - |
        package generated

        p[z] {
          [1, x, 3] = [y, 2, 3]
          z = [x, y]
        }
    note: "eqexpr/pattern: array multiple vars 2"
    query: data.generated.p = x
    sort_bindings: true
    want_result:
      - x:
          - - 2
            - 1
