| 1 |
! { dg-do compile } |
| 2 |
! |
| 3 |
! Test case contributed by Mark Eggleston <[email protected]> |
| 4 |
|
| 5 |
program test |
| 6 |
integer(4) :: x |
| 7 |
|
| 8 |
x = x // "rubbish" ! { dg-error "INTEGER\\(4\\)/CHARACTER\\(7\\)" } |
| 9 |
x = 4_"more rubbish" + 6 ! { dg-error "CHARACTER\\(12,4\\)/INTEGER\\(4\\)" } |
| 10 |
end program |