xref: /llvm-project/flang/test/Semantics/typeinfo09.f90 (revision b477d39bf6811ac12a1e7e98f308cf4c9a8de26f)
1!RUN: bbc --dump-symbols %s | FileCheck %s
2!RUN: %flang_fc1 -fdebug-dump-symbols %s | FileCheck %s
3! test setting of isargdescriptorset in the runtime type info.
4
5module m
6 type :: sometype
7 contains
8  procedure :: copy => copy_impl
9  generic :: assignment(=) => copy
10 end type
11interface
12  subroutine copy_impl(this, x)
13    import
14    class(sometype), intent(out) :: this
15    type(sometype), target, intent(in) :: x
16  end subroutine
17end interface
18end module
19
20!CHECK: .s.sometype, SAVE, TARGET (CompilerCreated, ReadOnly): ObjectEntity type: TYPE(specialbinding) shape: 0_8:0_8 init:[specialbinding::specialbinding(which=1_1,isargdescriptorset=1_1,istypebound=1_1,isargcontiguousset=0_1,proc=copy_impl)]
21