[clang][bytecode] Implement __builtin_reduce_mul (#118287)
[llvm-project.git] / flang / test / Driver / response-file.f90
blobb2670528d3e9dcbdca78697b1941c591774f6414
1 ! Test that the driver can process response files.
3 ! RUN: echo "-DTEST" > %basename_t.rsp
4 ! RUN: %flang -E -cpp @%basename_t.rsp %s -o - | FileCheck %s
5 ! RUN: %flang_fc1 -E -cpp @%basename_t.rsp %s -o - | FileCheck %s
6 ! RUN: not %flang %basename_t.rsp %s -o /dev/null
7 ! RUN: not %flang_fc1 %basenamt_t.rsp %s -o /dev/null
9 ! CHECK-LABEL: program test
10 ! CHECK: end program
12 #ifdef TEST
13 program test
14 end program
15 #else
16 We should have read the define from the response file.
17 #endif