brintos

brintos / llvm-project-archived public Read only

0
0
Text · 479 B · b267052 Raw
18 lines · plain
1! Test that the driver can process response files.2 3! RUN: echo "-DTEST" > %basename_t.rsp4! RUN: %flang -E -cpp @%basename_t.rsp %s -o - | FileCheck %s5! RUN: %flang_fc1 -E -cpp @%basename_t.rsp %s -o - | FileCheck %s6! RUN: not %flang %basename_t.rsp %s -o /dev/null7! RUN: not %flang_fc1 %basenamt_t.rsp %s -o /dev/null8 9! CHECK-LABEL: program test10! CHECK: end program11 12#ifdef TEST13program test14end program15#else16We should have read the define from the response file.17#endif18