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