…fter macro expansion When compiler directives (!$omp) and/or their continuations (!$omp &) are produced by macro expansion, handle those continuations. Also allow a continuation marker (&) to appear in a macro actual argument.
15 lines
351 B
Fortran
15 lines
351 B
Fortran
! RUN: %flang -E %s 2>&1 | FileCheck %s
|
|
! CHECK: j = j + 111
|
|
! #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
|