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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [Wall.f90] - Diff between revs 154 and 816

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 154 Rev 816
! { dg-do run }
! { dg-do run }
! { dg-options -Wall }
! { dg-options -Wall }
! PR 30437  Test for Wall
! PR 30437  Test for Wall
program main
program main
  character (len=40) &
  character (len=40) &
  c
  c
  c = "Hello, &
  c = "Hello, &
         world!" ! { dg-warning "Warning: Missing '&' in continued character constant" }
         world!" ! { dg-warning "Warning: Missing '&' in continued character constant" }
  if (c.ne.&
  if (c.ne.&
                                   "Hello, world!")&
                                   "Hello, world!")&
                               call abort();end program main
                               call abort();end program main
 
 

powered by: WebSVN 2.1.0

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