1! RUN: %B/test/Semantics/test_errors.sh %s %flang %t
2implicit none
3allocatable :: x
4integer :: x
5!ERROR: No explicit type declared for 'y'
6allocatable :: y
7end
8