[clang][bytecode] Implement __builtin_reduce_mul (#118287)
[llvm-project.git] / flang / test / Driver / cpp-nocpp-command-line-macro.f90
blob63945c1aab69855b365f7bb94a29e3454d885119
1 !-----------
2 ! RUN lines
3 !-----------
4 ! RUN: %flang_fc1 -E %s 2>&1 | FileCheck %s --check-prefix=UNDEFINED
5 ! RUN: %flang_fc1 -E -cpp -DX=A %s 2>&1 | FileCheck %s --check-prefix=DEFINED
6 ! RUN: %flang_fc1 -E -nocpp -DX=A %s 2>&1 | FileCheck %s --check-prefix=UNDEFINED
8 ! UNDEFINED:program B
9 ! UNDEFINED-NOT:program A
11 ! DEFINED:program A
12 ! DEFINED-NOT:program B
14 #ifdef X
15 program X
16 #else
17 program B
18 #endif
19 end