aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@adacore.com>2010-06-23 05:21:16 +0000
committerArnaud Charlet <charlet@gcc.gnu.org>2010-06-23 07:21:16 +0200
commit8d66b22ae2007253b34f76dc8c0fe34eb0fb5380 (patch)
treef5190e4c827c4c7ba62e09a60ad9fe39b324f8d1 /gcc
parentc00ccd01317193ff6008cee0e84cf1b46eebbe2c (diff)
downloadgcc-8d66b22ae2007253b34f76dc8c0fe34eb0fb5380.zip
gcc-8d66b22ae2007253b34f76dc8c0fe34eb0fb5380.tar.gz
gcc-8d66b22ae2007253b34f76dc8c0fe34eb0fb5380.tar.bz2
* gnat.dg/not_null.adb: Update test case.
From-SVN: r161241
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gnat.dg/not_null.adb2
2 files changed, 4 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index cfaa6cf..ffc1ce9 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2010-06-23 Arnaud Charlet <charlet@adacore.com>
+
+ * gnat.dg/not_null.adb: Update test case.
+
2010-06-22 Jakub Jelinek <jakub@redhat.com>
PR c++/44619
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;