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] - Blame information for rev 193

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

Line No. Rev Author Line
1 149 jeremybenn
! { dg-do "compile" }
2
! { dg-options "-Wall -std=f95" }
3
! There should only two warnings be printed.
4
! PR fortran/30968
5
print *, "Foo bar&
6
        &Bar foo"
7
print *, "Foo bar&
8
        Bar foo" ! { dg-warning "Missing '&' in continued character constant" }
9
print *, "Foo bar"&
10
        &, "Bar foo"
11
print *, "Foo bar"&
12
        , "Bar foo"
13
 
14
print '(&
15
    a)', 'Hello' ! { dg-warning "Missing '&' in continued character constant" }
16
print '(&
17
   &a)', 'Hello'
18
print '('&
19
   &//'a)', 'Hello'
20
print '('&
21
   // "a)", 'Hello'
22
end

powered by: WebSVN 2.1.0

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