1 ! Tests that `--save-temps` works properly when a module from a non standard dir
2 ! is included with `-I/...`.
4 ! RUN: rm -rf %t && split-file %s %t
5 ! RUN: mkdir %t/mod_inc_dir
6 ! RUN: mv %t/somemodule.mod %t/mod_inc_dir
7 ! RUN: %flang -S -emit-llvm --save-temps=obj -I%t/mod_inc_dir -fno-integrated-as \
8 ! RUN: %t/ModuleUser.f90 -o %t/ModuleUser
9 ! RUN: ls %t | FileCheck %s
11 ! Verify that the temp file(s) were written to disk.
15 !mod$ v1 sum:e9e8fd2bd49e8daa