OSDN Git Service

gfortran.dg/nested_modules_2.f90: Tighten test.
authorjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Dec 2011 19:36:39 +0000 (19:36 +0000)
committerjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Dec 2011 19:36:39 +0000 (19:36 +0000)
2011-12-12  Janne Blomqvist  <jb@gcc.gnu.org>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182258 138bc75d-0d04-0410-961f-82ee72b054a4

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

index dbe8ac6..f8f92aa 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 5bfdadd..0714eed 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" } }