flang/test/Preprocessing/pp033.F
raw| 1 | ! RUN: %flang -E %s 2>&1 | FileCheck %s |
| 2 | ! CHECK: if (777 .eq. 777) then |
| 3 | ! CHECK: print *, 'pp033.F no: ', 777 |
| 4 | * /* C comment \ newline */ erased from #define |
| 5 | integer, parameter :: KWM = 666 |
| 6 | #define KWM 77/* C comment \ |
| 7 | */7 |
| 8 | if (KWM .eq. 777) then |
| 9 | print *, 'pp033.F yes' |
| 10 | else |
| 11 | print *, 'pp033.F no: ', KWM |
| 12 | end if |
| 13 | end |