summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.fortran-torture/compile/complex_1.f90
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gfortran.fortran-torture/compile/complex_1.f90')
-rw-r--r--gcc/testsuite/gfortran.fortran-torture/compile/complex_1.f905
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.fortran-torture/compile/complex_1.f90 b/gcc/testsuite/gfortran.fortran-torture/compile/complex_1.f90
new file mode 100644
index 000000000..605ec665f
--- /dev/null
+++ b/gcc/testsuite/gfortran.fortran-torture/compile/complex_1.f90
@@ -0,0 +1,5 @@
+program test_gfortran2
+ Complex(8) :: g, zh
+ Real(8) :: g_q
+ g = zh - zh/cmplx(0.0_8,-g_q)
+end