---
cases:
  - note: time/clock too big
    query: data.generated.p = x
    modules:
      - |
        package generated

        p := [__local0__, __local1__, __local2__] if {
        	__local3__ = 1582977600 * 1000
        	__local4__ = __local3__ * 1000
        	__local5__ = __local4__ * 1000
        	__local6__ = __local5__ * 1000
        	time.clock(__local6__, __local7__)
        	[__local0__, __local1__, __local2__] = __local7__
        }
    want_error_code: eval_builtin_error
    want_error: timestamp too big
    strict_error: true
