Debian Codegraph @

flang/test/Driver/hlfir-no-hlfir-error.f90

raw
1 ! Test that -flang-experimental-hlfir and -flang-deprecated-no-hlfir
2 ! options cannot be both used.
3
4 !--------------------------
5 ! FLANG DRIVER (flang-new)
6 !--------------------------
7 ! RUN: not %flang -flang-experimental-hlfir -flang-deprecated-no-hlfir %s 2>&1 | FileCheck %s
8
9 !-----------------------------------------
10 ! FRONTEND FLANG DRIVER (flang-new -fc1)
11 !-----------------------------------------
12 ! RUN: not %flang_fc1 -emit-llvm -flang-experimental-hlfir -flang-deprecated-no-hlfir %s 2>&1 | FileCheck %s
13
14 ! CHECK:error: Options '-flang-experimental-hlfir' and '-flang-deprecated-no-hlfir' cannot be both specified
15
16 end