blob: afc92cde5d700a3ab2a385e962496db7db659f70 [file] [log] [blame]
-- { dg-do compile }
package Variant_Part is
type T1(b: boolean) is record
case (b) is -- { dg-error "discriminant name may not be parenthesized" }
when others => null;
end case;
end record;
end Variant_Part;