]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gfortran.dg/nested_modules_2.f90: Tighten test.
authorJanne Blomqvist <jb@gcc.gnu.org>
Mon, 12 Dec 2011 19:36:39 +0000 (21:36 +0200)
committerJanne Blomqvist <jb@gcc.gnu.org>
Mon, 12 Dec 2011 19:36:39 +0000 (21:36 +0200)
2011-12-12  Janne Blomqvist  <jb@gcc.gnu.org>

* gfortran.dg/nested_modules_2.f90: Tighten test.

From-SVN: r182258

gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/nested_modules_2.f90

index dbe8ac619f5adfe78cf69a2a5dfba09e4b9fd51d..f8f92aa417ad37b57390159809832dcbcc74fea2 100644 (file)
@@ -1,3 +1,7 @@
+2011-12-12  Janne Blomqvist  <jb@gcc.gnu.org>
+
+       * gfortran.dg/nested_modules_2.f90: Tighten test.
+
 2011-12-12  Eric Botcazou  <ebotcazou@adacore.com>
 
        * gcc.c-torture/execute/20111212-1.c: New test.
index 5bfdaddaac2b900b89345c5d8f990252c92b19a3..0714eedee6ad127abfa9539fe5a162dc4e0d0cd2 100644 (file)
@@ -33,7 +33,7 @@ program testfoobar
   call sub1 (l)
   i = 1
   call sub2 (l)
-  if (all (l.ne.(/84,42,0/))) call abort ()
+  if (any (l.ne.(/84,42,0/))) call abort ()
 end program testfoobar
 
 ! { dg-final { cleanup-modules "foo bar foobar" } }