[LLVM] Fix Maintainers.md formatting (NFC)
[llvm-project.git] / flang / test / Driver / mmlir-opts-vs-opts.f90
blob8cd14e02c3fcc9c59af5e01de65f16947da02057
1 ! Verify that mlir pass options are only accessible under `-mmlir`.
3 !RUN: %flang_fc1 -emit-hlfir -mmlir -mlir-pass-statistics %s -o /dev/null 2>&1 | FileCheck %s --check-prefix=MMLIR
4 !RUN: not %flang_fc1 -emit-hlfir -mlir-pass-statistics %s -o /dev/null 2>&1 | FileCheck %s --check-prefix=NOMMLIR
6 !MMLIR: Pass statistics report
7 !NOMMLIR: error: unknown argument: '-mlir-pass-statistics'
8 end