summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/error_recovery_3.f90
blob: b1da9cbbab14ddd1f10d2ccc5f750a5f4ac2774b (plain)
1
2
3
4
5
6
7
8
9
10
11
! { dg-do compile }
! PR30779 incomplete file triggers ICE.
! Note: This file is deliberately cut short to verify a graceful exit. Before
! the patch this gave ICE.
MODULE M1
 INTEGER :: I
END MODULE M1

USE M1,                    ONLY: I,&! { dg-error "Missing" }
! { dg-final { cleanup-modules "M1" } }