flang/test/Preprocessing/pp005.F
raw| 1 | ! RUN: %flang -E %s 2>&1 | FileCheck %s |
| 2 | ! CHECK: res = (777) |
| 3 | * KWM split across continuation, implicit padding |
| 4 | integer, parameter :: KWM = 666 |
| 5 | #define KWM 777 |
| 6 | integer :: res |
| 7 | res = (KW |
| 8 | +M) |
| 9 | if (res .eq. 777) then |
| 10 | print *, 'pp005.F yes' |
| 11 | else |
| 12 | print *, 'pp005.F no: ', res |
| 13 | end if |
| 14 | end |