3 ! PR [OOP] Compile-time errors on typed allocation and pointer function result assignment
5 ! Contributed by Damian Rouson <damian@rouson.net>
14 type ,extends(foo) :: bar
20 class(foo) ,pointer :: new_bar
21 allocate(bar :: new_bar)
28 ! { dg-final { cleanup-modules "m" } }