diff options
Diffstat (limited to 'gcc/ada/sem_ch7.adb')
-rw-r--r-- | gcc/ada/sem_ch7.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/sem_ch7.adb b/gcc/ada/sem_ch7.adb index c83e2360fa7..e6973652360 100644 --- a/gcc/ada/sem_ch7.adb +++ b/gcc/ada/sem_ch7.adb @@ -219,7 +219,7 @@ package body Sem_Ch7 is or else Is_Child_Unit (Spec_Id)) and then not Unit_Requires_Body (Spec_Id) then - if Ada_83 then + if Ada_Version = Ada_83 then Error_Msg_N ("optional package body (not allowed in Ada 95)?", N); else |