2 ! This tests a patch for a regression caused by the second part of
3 ! the fix for PR30554. The linked derived types dummy_atom and
4 ! dummy_atom_list caused a segment fault because they do not have
7 ! Contributed by Daniel Franke <franke.daniel@gmail.com>
10 TYPE :: dummy_atom_list
11 TYPE(dummy_atom), DIMENSION(:), POINTER :: table => null()
15 TYPE(dummy_atom_private), POINTER :: p => null()
18 TYPE :: dummy_atom_private
24 USE types, ONLY: dummy_atom
26 SUBROUTINE dummy_atom_insert_symmetry_mate(this, other)
27 USE types, ONLY: dummy_atom
28 TYPE(dummy_atom), INTENT(inout) :: this
29 TYPE(dummy_atom), INTENT(in) :: other
36 SUBROUTINE dummy_atom_list_insert(this, atom2)
37 USE types, ONLY: dummy_atom_list
38 USE atom, ONLY: dummy_atom
40 TYPE(dummy_atom_list), INTENT(inout) :: this
41 TYPE(dummy_atom), INTENT(in) :: atom2
45 ! { dg-final { cleanup-modules "atom types list" } }