Is this legal?
with Standard.Ada;
procedure Foo is
begin
null;
end Foo;
Is this legal?
with Standard.Ada;
procedure Foo is
begin
null;
end Foo;
If there is a user defined package Standard with child unit Ada, then yes, of course.
The fully expanded name of this package Standard woult be Ada.Standard.
Thou shalt not name an Ada unit Standard.
God forbid, that blashpemy.
But what would you say about this:
with Ada;
package W renames Standard.Ada;
(The question is about the extent of the rule that all top-level packages are children of the package Standard.)