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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [write_to_null.F90] - Blame information for rev 694

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do run }
2
! pr18983
3
! could not write to /dev/null
4
 
5
#if defined  _WIN32
6
#define DEV_NULL "nul"
7
#else
8
#define DEV_NULL "/dev/null"
9
#endif
10
 
11
       integer i
12
       open(10,file=DEV_NULL)
13
       do i = 1,100
14
         write(10,*) "Hello, world"
15
       end do
16
       end

powered by: WebSVN 2.1.0

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