here is another one that i got after posting

declare
i number(10);
begin
execute immediate 'select twice(7) from dual' into i;
end;
/