message: add arg with side-effects test
diff: @@ -120,3 +120,10 @@ FROM
  1
  endloop
  +
  +# argument with side-effects not allowed
  +statement ok
  +CREATE MACRO add(a, b) AS a + b
  +
  +statement error
  +SELECT add(i + nextval('seq1'), 5) FROM integers
  