blob: 6b0648b3ee53eb2e30b67600e23da3f68e6f76c4 [file] [log] [blame]
! { dg-do compile }
! PR69043 Trying to include a directory causes an infinite loop
include '.'
program main
end program
! { dg-error "is not a regular file" " " { target *-*-* } 3 }
! { dg-prune-output "compilation terminated." }