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.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [g77/] [cpp4.F] - Rev 154

Compare with Previous | Blame | View Log

      ! { dg-do run }
C The preprocessor must not mangle Hollerith constants
C which contain apostrophes.
      integer i
      character*4 j
      data i /4hbla'/
      write (j, '(4a)') i
      if (j .ne. "bla'") call abort
      end

      ! { dg-warning "Hollerith constant" "const" { target *-*-* } 6 }
      ! { dg-warning "Conversion" "conversion" { target *-*-* } 6 }

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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