Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions flang/module/__fortran_builtins.f90
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@
end type

type, public :: __builtin_event_type
integer(kind=int64), private :: __count
integer(kind=int64), private :: __count = -1
end type

type, public :: __builtin_notify_type
integer(kind=int64), private :: __count
integer(kind=int64), private :: __count = -1
end type

type, public :: __builtin_lock_type
integer(kind=int64), private :: __count
integer(kind=int64), private :: __count = -1
end type

type, public :: __builtin_ieee_flag_type
Expand Down Expand Up @@ -88,7 +88,7 @@
__builtin_ieee_round_type(_FORTRAN_RUNTIME_IEEE_OTHER)

type, public :: __builtin_team_type
integer(kind=int64), private :: __id
integer(kind=int64), private :: __id = -1
end type

integer, parameter, public :: __builtin_atomic_int_kind = selected_int_kind(18)
Expand Down
2 changes: 2 additions & 0 deletions flang/test/Semantics/get_team.f90
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ program get_team_test
type(team_type) :: result_team
logical wrong_result_type, non_integer

result_team = team_type()

!___ standard-conforming statement with no optional arguments present ___
result_team = get_team()

Expand Down
Loading