Commit 753fc83c by Bud Davis Committed by Bud Davis

intrinsic_numeric_arg.f: Add test to check error message.

2010-11-04  Bud Davis	<jimmied@smu.edu>

	* gfortran.dg/intrinsic_numeric_arg.f: Add test to check 
	error message.

From-SVN: r166347
parent 868e54d1
2010-11-04 Bud Davis <jimmied@smu.edu>
* gfortran.dg/intrinsic_numeric_arg.f: Add test to check
error message.
2010-11-04 Chao-ying Fu <fu@mips.com> 2010-11-04 Chao-ying Fu <fu@mips.com>
* gcc.target/mips/mips32-dsp.c: Add tests for madd, maddu, msub, * gcc.target/mips/mips32-dsp.c: Add tests for madd, maddu, msub,
......
! this test checks for a non-numeric argument to an
! intrinsic function (of which ABS() is one of many).
! { dg-do compile }
LOGICAL Z
CHARACTER A
REAL R
R = ABS(Z) ! { dg-error " must be a numeric type" }
R = ABS(A) ! { dg-error " must be a numeric type" }
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