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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [g77/] [cpp4.F] - Blame information for rev 708

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

Line No. Rev Author Line
1 694 jeremybenn
c { dg-do run }
2
C The preprocessor must not mangle Hollerith constants
3
C which contain apostrophes.
4
      integer i
5
      character(4) j
6
      data i /4hbla'/
7
      write (j, '(4a)') i
8
      if (j .ne. "bla'") call abort
9
      end
10
 
11
      ! { dg-warning "Hollerith constant" "const" { target *-*-* } 6 }
12
      ! { dg-warning "Conversion" "conversion" { target *-*-* } 6 }

powered by: WebSVN 2.1.0

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