Commit 303eed06 by Thomas Koenig Committed by Thomas Koenig

character_passing.f90: Fix types for LSAME.

2005-08-09  Thomas Koenig  <Thomas.Koenig@online.de>

	* gfortran/fortran.torture/execute/character_passing.f90:
	Fix types for LSAME.

From-SVN: r102925
parent 4e7feced
2005-08-09 Thomas Koenig <Thomas.Koenig@online.de>
* gfortran/fortran.torture/execute/character_passing.f90:
Fix types for LSAME.
2005-08-09 Dorit Nuzman <dorit@il.ibm.com> 2005-08-09 Dorit Nuzman <dorit@il.ibm.com>
* gcc.dg/vect/vect-reduc-1char.c: Reverse last change - change * gcc.dg/vect/vect-reduc-1char.c: Reverse last change - change
......
...@@ -3,11 +3,12 @@ ...@@ -3,11 +3,12 @@
! the character agruments. ! the character agruments.
program foo program foo
character*1 a1, a2, b character*1 a1, a2, b
logical LSAME, x
a1='A' a1='A'
a2='A' a2='A'
b='B' b='B'
x = LSAME(a1,a2) x = LSAME(a1,a2)
if ( x.ne.1 ) then if ( .not. x ) then
call abort (); call abort ();
endif endif
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment