aarch64: Add vector floating point extend pattern [PR113880, PR113869]
[official-gcc.git] / gcc / testsuite / gfortran.dg / bad_operands.f90
blobe82a07fdbd3c6388d4fc44ccf44f37c9a2c2ce82
1 ! { dg-do compile }
3 ! Test case contributed by Mark Eggleston <mark.eggleston@codethink.com>
5 program test
6 integer(4) :: x
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