---
cases:
  - note: indirectreferences/multiple call
    query: data.generated.p = x
    modules:
      - |
        package generated

        p contains x if {
        	split("foo.bar:qux", ".", __local0__)
        	__local2__ = __local0__[_]
        	split(__local2__, ":", __local1__)
        	__local1__[i] = x
        }
    data: {}
    want_result:
      - x:
          - bar
          - foo
          - qux
    sort_bindings: true
