You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
! RUN: %S/test_errors.sh %s %t %f18
|
|
module m
|
|
type :: t
|
|
real :: y
|
|
end type
|
|
end module
|
|
|
|
use m
|
|
implicit type(t)(x)
|
|
z = x%y !OK: x is type(t)
|
|
!ERROR: 'w' is not an object of derived type; it is implicitly typed
|
|
z = w%y
|
|
end
|