OSDN Git Service

2010-02-10 Tobias Burnus <burnus@net-b.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gfortran.dg / complex_intrinsic_2.f90
1 ! Testcase for the COMPLEX intrinsic
2 ! { dg-do compile }
3   complex c
4   c = complex(.true.,1.0) ! { dg-error "must be INTEGER or REAL" }
5   c = complex(1) ! { dg-error "Missing actual argument" }
6   c = complex(1,c) ! { dg-error "must be INTEGER or REAL" }
7   end