OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [continuation_1.f90] - Blame information for rev 302

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do run }
2
! { dg-options -Wampersand }
3
! PR 19101  Test line continuations and spaces.  Note: the missing ampersand
4
! before "world" is non standard default behavior.  Use -std=f95, -std=f2003,
5
! -pedantic, -Wall, or -Wampersand to catch this error
6
! Submitted by Jerry DeLisle .
7
program main
8
  character (len=40) &
9
  c
10
  c = "Hello, &
11
         world!" ! { dg-warning "Warning: Missing '&' in continued character constant" }
12
  if (c.ne.&
13
                                   "Hello, world!")&
14
                               call abort();end program main
15
 

powered by: WebSVN 2.1.0

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