* - 0 on success.
* - -1 on failure.
*/
-static int _xlat_copy_internal(NDEBUG_LOCATION_ARGS TALLOC_CTX *ctx, xlat_exp_head_t *out, xlat_exp_head_t const *in)
+static int CC_HINT(nonnull) _xlat_copy_internal(NDEBUG_LOCATION_ARGS TALLOC_CTX *ctx, xlat_exp_head_t *out, xlat_exp_head_t const *in)
{
xlat_exp_head_t *head = NULL;
+++ /dev/null
-xlat %{expr: 1 + 2 + 3 + 4}
-match 10
-
-xlat %{expr: 1 & ~1}
-match 0
-
-xlat %{expr: 2 - -1}
-match 3
-
-xlat %{expr: -1 * 2}
-match -2
-
-xlat %{expr: 1 << 2 | 1}
-match 5
-
-xlat %{expr: 6 + -(1 + 3)}
-match 2
-
-xlat %{tolower:\%{ FOO}
-match %{ foo
-
-xlat \%D
-match %D