[clang][bytecode] Implement __builtin_reduce_mul (#118287)
[llvm-project.git] / flang / test / Driver / hlfir-no-hlfir-error.f90
blob59f8304db5c9abae12ba795f30c2d66b398521cc
1 ! Test that -flang-experimental-hlfir and -flang-deprecated-no-hlfir
2 ! options cannot be both used.
4 !--------------------------
5 ! FLANG DRIVER (flang)
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
16 end