Message ID | 20111013103454.GA17693@adacore.com |
---|---|
State | New |
Headers | show |
Index: sem_prag.adb =================================================================== --- sem_prag.adb (revision 179894) +++ sem_prag.adb (working copy) @@ -13762,12 +13762,6 @@ Error_Msg_N ("Unchecked_Union must not be tagged", Typ); return; - elsif Is_Limited_Type (Typ) then - Error_Msg_N - ("Unchecked_Union must not be limited record type", Typ); - Explain_Limited_Type (Typ, Typ); - return; - else if not Has_Discriminants (Typ) then Error_Msg_N