OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [error_recovery_2.f90] - Blame information for rev 708

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
! PR27954 Internal compiler error on bad statements
3
! Derived from test case submitted in PR.
4
subroutine bad1
5
  character*20 :: y, x 00  ! { dg-error "Syntax error" }
6
  data  y /'abcdef'/, x /'jbnhjk'/ pp  ! { dg-error "Syntax error" }
7
end subroutine bad1
8
 
9
subroutine bad2
10
  character*20 :: y, x 00  ! { dg-error "Syntax error" }
11
  data  y /'abcdef'/, x /'jbnhjk'/ pp  ! { dg-error "Syntax error" }
12
  print *, "basket case."
13
end subroutine bad2
14
 
15
subroutine bad3
16
  implicit none
17
  character*20 :: y, x 00  ! { dg-error "Syntax error" }
18
  data  y /'abcdef'/, x /'jbnhjk'/ pp  ! { dg-error "Syntax error" }
19
  print *, "basket case that segfaults without patch."
20
end subroutine bad3
21
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.