Debian Codegraph @

flang/test/Driver/pass-plugin-not-found.f90

raw
1 ! Check the correct error diagnostic is reported when a pass plugin shared object isn't found
2
3 ! REQUIRES: plugins, shell
4
5 ! RUN: not %flang -fpass-plugin=X.Y %s 2>&1 | FileCheck %s --check-prefix=ERROR
6 ! RUN: not %flang_fc1 -emit-llvm -o /dev/null -fpass-plugin=X.Y %s 2>&1 | FileCheck %s --check-prefix=ERROR
7
8 ! The exact wording of the error message depends on the system dlerror.
9 ! ERROR: error: unable to load plugin 'X.Y': 'Could not load library 'X.Y': {{.*}}{{[[:space:]].*}}{{.*}}: {{.*}}{{[Nn]}}o such file{{.*}}'