summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/error_recovery_3.f90
blob: 35804be89441ed66a8527fbbd99439933b310674 (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" } }