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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [logical_1.f90] - Blame information for rev 827

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

Line No. Rev Author Line
1 149 jeremybenn
! { dg-do run }
2
! PR middle-end/19543
3
program logical_1
4
  implicit none
5
  logical(1), parameter :: t1 = .TRUE., f1 = .FALSE.
6
  logical(2), parameter :: t2 = .TRUE., f2 = .FALSE.
7
  logical(4), parameter :: t4 = .TRUE., f4 = .FALSE.
8
  logical(8), parameter :: t8 = .TRUE., f8 = .FALSE.
9
  character*2 :: t(4), f(4)
10
 
11
  write(t(1),*) t1
12
  write(f(1),*) f1
13
  write(t(2),*) t2
14
  write(f(2),*) f2
15
  write(t(3),*) t4
16
  write(f(3),*) f4
17
  write(t(4),*) t8
18
  write(f(4),*) f8
19
 
20
  if (any(t .ne. " T")) call abort
21
  if (any(f .ne. " F")) call abort
22
end

powered by: WebSVN 2.1.0

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