Allow the lit test suite to run under Windows. This encompasses the following changes: * Define `lit_tools_dir` for flang's test configuration * Replace `(<command> || true)` idiom with `not <command>` * Add `REQUIRES: shell` on tests that invoke a shell script Reviewed By: awarzynski Differential Revision: https://reviews.llvm.org/D89368
16 lines
387 B
Fortran
16 lines
387 B
Fortran
! RUN: not %flang -E %s 2>&1 | 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
|