You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
391 B

! RUN: (%f18 -E %s 2>&1 || true) | FileCheck %s
! CHECK: error: bad character ('&') in Fortran token
! #define KWM &, use for continuation w/o pasting (ifort and nag seem to continue #define)
#define KWM &
integer :: j
j = 666
j = j + KWM
111
if (j .eq. 777) then
print *, 'pp130.F90 yes'
else
print *, 'pp130.F90 no', j
end if
end