gcc/testsuite/gfortran.dg/pr114739.f90
raw| 1 | ! { dg-do compile } |
| 2 | ! The fix here was triggered by an ICE prior to r14-9489-g3fd46d859cda10 |
| 3 | ! Before that gfortran gave an incorrect "no implicit type" error for all |
| 4 | ! three statements. |
| 5 | program main |
| 6 | implicit complex(z) |
| 7 | implicit character(c) |
| 8 | z2%re = 1. |
| 9 | z2%im = 2. |
| 10 | print *, z2, c%kind |
| 11 | end |