13 lines · plain
1! RUN: rm -fr %t && mkdir %t && cd %t2! RUN: %flang_fc1 -fsyntax-only -fdebug-module-writer %s 2>&1 | FileCheck %s --check-prefix CHECK_CHANGED3! RUN: %flang_fc1 -fsyntax-only -fdebug-module-writer %s 2>&1 | FileCheck %s --check-prefix CHECK_UNCHANGED4! RUN: %flang_fc1 -fsyntax-only -fdebug-module-writer %p/Inputs/mod-file-unchanged.f90 2>&1 | FileCheck %s --check-prefix CHECK_UNCHANGED5! RUN: %flang_fc1 -fsyntax-only -fdebug-module-writer %p/Inputs/mod-file-changed.f90 2>&1 | FileCheck %s --check-prefix CHECK_CHANGED6 7module m8 real :: x(10)9end module m10 11! CHECK_CHANGED: Processing module {{.*}}.mod: module written12! CHECK_UNCHANGED: Processing module {{.*}}.mod: module unchanged, not writing13