code: def test_multiple_output(mode):
      n_steps = int64("n_steps")
      x0 = float64("x0")
      y0 = int64("y0")
      const = float64("const")
      x = x0 + const
      y = y0 + 1
  
      op = ScalarLoop(init=[x0, y0], constant=[const], update=[x, y])
      x, y = op(n_steps, x0, y0, const)
  
      fn = function([n_steps, x0, y0, const], [x, y], mode=mode)
  
      res_x, res_y = fn(n_steps=5, x0=0, y0=0, const=1)
      np.testing.assert_allclose(res_x, 5)
      np.testing.assert_allclose(res_y, 5)
  
      res_x, res_y = fn(n_steps=5, x0=0, y0=0, const=2)
      np.testing.assert_allclose(res_x, 10)
      np.testing.assert_allclose(res_y, 5)
  
      res_x, res_y = fn(n_steps=4, x0=3, y0=2, const=-1)
      np.testing.assert_allclose(res_x, -1)
      np.testing.assert_allclose(res_y, 6)
  
imports: import re
  import numpy
  import pytest
  from pytensor import Mode, function
  from pytensor.scalar import Composite, as_scalar, cos, exp, float16, float32, float64, identity, int64, sin
  from pytensor.scalar.loop import ScalarLoop
  from pytensor.tensor import exp
label_desc: Use image node_id 2 for calling a global function with example usage: test_multiple_output(mode) without return types