brintos

brintos / llvm-project-archived public Read only

0
0
Text · 603 B · b8f431c Raw
13 lines · plain
1!RUN: %flang_fc1 -fdebug-unparse %s 2>&1 | FileCheck %s2!CHECK: INTEGER, PARAMETER :: tslen = 24_43!CHECK: LOGICAL, PARAMETER :: tsspaces = .true._44!CHECK: LOGICAL, PARAMETER :: tscolons = .true._45 6integer, parameter :: tsLen = len(__TIMESTAMP__)7character(tsLen), parameter :: ts = __TIMESTAMP__8integer, parameter :: spaces(*) = [4, 8, 11, 20]9integer, parameter :: colons(*) = [14, 17]10logical, parameter :: tsSpaces = all([character(1)::(ts(spaces(j):spaces(j)),j=1,size(spaces))] == ' ')11logical, parameter :: tsColons = all([character(1)::(ts(colons(j):colons(j)),j=1,size(colons))] == ':')12end13