Re: [DTrace-devel] [PATCH 6/6] test: Check declaration (without init) inside a probe

Nick Alcock <[email protected]> Tue, 14 Apr 2026 22:44:36 +0100
Newsgroups dev.linux.lists.dtrace
Message-ID <[email protected]>
On 31 Mar 2026, eugene loh stated:

> From: Eugene Loh <[email protected]>
>
> 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 <[email protected]>

Reviewed-by: Nick Alcock <[email protected]>

-- 
NULL && (void)