mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-17 07:06:42 +00:00

This does a global rename from `flang-new` to `flang`. I also removed/changed any TODOs that I found related to making this change. --------- Co-authored-by: H. Vetinari <h.vetinari@gmx.com> Co-authored-by: Andrzej Warzynski <andrzej.warzynski@arm.com>
12 lines
551 B
Fortran
12 lines
551 B
Fortran
! RUN: bbc -emit-fir %s -o - | FileCheck %s
|
|
! bbc doesn't have a way to set the default kinds so we use flang driver
|
|
! RUN: flang -fc1 -fdefault-integer-8 -emit-fir %s -o - | FileCheck --check-prefixes=CHECK,CHECK-64 %s
|
|
|
|
! CHECK-LABEL: argument_count_test
|
|
subroutine argument_count_test()
|
|
integer :: arg_count_test
|
|
arg_count_test = command_argument_count()
|
|
! CHECK: %[[argumentCount:.*]] = fir.call @_FortranAArgumentCount() {{.*}}: () -> i32
|
|
! CHECK-64: %{{[0-9]+}} = fir.convert %[[argumentCount]] : (i32) -> i64
|
|
end subroutine argument_count_test
|