3 ! PR 47572: [OOP] Invalid: Allocatable polymorphic with init expression.
5 ! Contributed by Edmondo Giovannozzi <edmondo.giovannozzi@gmail.com>
6 ! cf. http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/763785b16883ed68
8 program scalar_allocation
12 class (test), allocatable :: b = test(3.4) ! { dg-error "cannot have an initializer" }