blob: de2ba1b0bea78321b3b74d537df7b2dd381b3844 [file] [log] [blame]
package Statically_Matching is
type T1(b: boolean) is tagged null record;
type T2 is new T1(b => false) with private;
private
F: constant boolean := false;
type T2 is new T1(b => F) with null record; -- OK
end Statically_Matching;