Debian Codegraph @

flang/test/Driver/output-paths.f90

raw
1 ! Test the diagnostic for cases when the output file cannot be generated
2
3 !--------------------------
4 ! RUN lines
5 !--------------------------
6 ! RUN: not %flang_fc1 -E -o %t.doesnotexist/somename %s 2> %t
7 ! RUN: FileCheck -check-prefix=OUTPUTFAIL -DMSG=%errc_ENOENT -input-file=%t %s
8
9 ! OUTPUTFAIL: error: unable to open output file '{{.*}}doesnotexist{{.}}somename': '[[MSG]]'