[DTrace-devel] [PATCH 6/6] test: Check declaration (without init) inside a probe
Nick Alcock
nick.alcock at oracle.com
Tue Apr 14 21:44:36 UTC 2026
On 31 Mar 2026, eugene loh stated:
> From: Eugene Loh <eugene.loh at oracle.com>
>
> We test that declaration (with init) of a variable inside a probe is not
> allowed.
>
> Check also that declaration without init inside a probe is also
> forbidden.
>
> The related test/unittest/probes/err.D_SYNTAX/err.D_SYNTAX.declare*.d
> tests are left alone.
>
> Signed-off-by: Eugene Loh <eugene.loh at oracle.com>
Reviewed-by: Nick Alcock <nick.alcock at oracle.com>
--
NULL && (void)
More information about the DTrace-devel
mailing list