aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/not_null.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gnat.dg/not_null.adb')
-rw-r--r--gcc/testsuite/gnat.dg/not_null.adb2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/testsuite/gnat.dg/not_null.adb b/gcc/testsuite/gnat.dg/not_null.adb
index 7d3c63d..3cbd86c 100644
--- a/gcc/testsuite/gnat.dg/not_null.adb
+++ b/gcc/testsuite/gnat.dg/not_null.adb
@@ -11,10 +11,8 @@ procedure not_null is
begin
declare
pragma Warnings (Off, "*null not allowed in null-excluding objects");
- pragma Warnings (Off, """Constraint_Error"" will be raised at run time");
package Inst_2 is new GPack (null);
pragma Warnings (On, "*null not allowed in null-excluding objects");
- pragma Warnings (On, """Constraint_Error"" will be raised at run time");
begin
null;
end;