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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [continuation_7.f90] - Diff between revs 149 and 154

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

Rev 149 Rev 154
! { dg-do "compile" }
! { dg-do "compile" }
! { dg-options "-Wall -std=f95" }
! { dg-options "-Wall -std=f95" }
! There should only two warnings be printed.
! There should only two warnings be printed.
! PR fortran/30968
! PR fortran/30968
print *, "Foo bar&
print *, "Foo bar&
        &Bar foo"
        &Bar foo"
print *, "Foo bar&
print *, "Foo bar&
        Bar foo" ! { dg-warning "Missing '&' in continued character constant" }
        Bar foo" ! { dg-warning "Missing '&' in continued character constant" }
print *, "Foo bar"&
print *, "Foo bar"&
        &, "Bar foo"
        &, "Bar foo"
print *, "Foo bar"&
print *, "Foo bar"&
        , "Bar foo"
        , "Bar foo"
print '(&
print '(&
    a)', 'Hello' ! { dg-warning "Missing '&' in continued character constant" }
    a)', 'Hello' ! { dg-warning "Missing '&' in continued character constant" }
print '(&
print '(&
   &a)', 'Hello'
   &a)', 'Hello'
print '('&
print '('&
   &//'a)', 'Hello'
   &//'a)', 'Hello'
print '('&
print '('&
   // "a)", 'Hello'
   // "a)", 'Hello'
end
end
 
 

powered by: WebSVN 2.1.0

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