llvm-project/flang/test/Preprocessing/pp036.F

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
302 B
FortranFixed
Raw Normal View History

! RUN: %flang -E %s 2>&1 | FileCheck %s
! CHECK: if (.TRUE .) then
! CHECK: print *, 'pp036.F no: ', .TRUE .
* #define FALSE TRUE ... .FALSE. -> .TRUE.
#define FALSE TRUE
if (.FALSE.) then
print *, 'pp036.F yes'
else
print *, 'pp036.F no: ', .FALSE.
end if
end