Skip to content

Commit ce7b837

Browse files
more tests
1 parent 632cd4b commit ce7b837

File tree

6 files changed

+17
-17
lines changed

6 files changed

+17
-17
lines changed

flang/test/Semantics/OpenMP/do-schedule03.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
! 2.7.1 Schedule Clause
44
! Test that does not catch non constant integer expressions like xx - xx.
55
!DEF: /OMPDOSCHEDULE MainProgram
6-
program ompdoschedule
6+
program OMPDOSCHEDULE
77
!DEF: /OMPDOSCHEDULE/a ObjectEntity REAL(4)
88
!DEF: /OMPDOSCHEDULE/y ObjectEntity REAL(4)
99
!DEF: /OMPDOSCHEDULE/z ObjectEntity REAL(4)
@@ -25,4 +25,4 @@ program ompdoschedule
2525
y(i) = z(i-1) + a(i)
2626
end do
2727
!$omp end do
28-
end program ompdoschedule
28+
end program OMPDOSCHEDULE

flang/test/Semantics/OpenMP/do01-positivecase.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
! A positive case
66

77
!DEF: /OMP_DO MainProgram
8-
program omp_do
8+
program OMP_DO
99
!DEF: /OMP_DO/i ObjectEntity INTEGER(4)
1010
integer i
1111

@@ -16,4 +16,4 @@ program omp_do
1616
end do
1717
!$omp end do
1818

19-
end program omp_do
19+
end program OMP_DO

flang/test/Semantics/OpenMP/do04-positivecase.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
! 2.7.1 Do Loop Constructs
44

55
!DEF: /OMP_DO1 MainProgram
6-
program omp_do1
6+
program OMP_DO1
77
!DEF: /OMP_DO1/i ObjectEntity INTEGER(4)
88
!DEF: /OMP_DO1/j ObjectEntity INTEGER(4)
99
!DEF: /OMP_DO1/k (OmpThreadprivate) ObjectEntity INTEGER(4)
@@ -19,4 +19,4 @@ program omp_do1
1919
end do
2020
end do
2121
!$omp end do
22-
end program omp_do1
22+
end program OMP_DO1

flang/test/Semantics/OpenMP/do05-positivecase.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
! A positive case
55

66
!DEF: /OMP_DO MainProgram
7-
program omp_do
7+
program OMP_DO
88
!DEF: /OMP_DO/i ObjectEntity INTEGER(4)
99
!DEF: /OMP_DO/n ObjectEntity INTEGER(4)
1010
integer i,n
@@ -71,4 +71,4 @@ program omp_do
7171
!REF: /OMP_DO/OtherConstruct7/i
7272
if(i < 5) cycle
7373
end do
74-
end program omp_do
74+
end program OMP_DO

flang/test/Semantics/OpenMP/do06-positivecases.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
! A positive case
88
!DEF: /OMP_DO MainProgram
9-
program omp_do
9+
program OMP_DO
1010
!DEF: /OMP_DO/i ObjectEntity INTEGER(4)
1111
!DEF: /OMP_DO/j ObjectEntity INTEGER(4)
1212
!DEF: /OMP_DO/k ObjectEntity INTEGER(4)
@@ -20,4 +20,4 @@ program omp_do
2020
!$omp end ordered
2121
end do
2222
!$omp end do
23-
end program omp_do
23+
end program OMP_DO

flang/test/Semantics/OpenMP/do11.f90

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
! 2.7.1 Do Loop Constructs
44

55
!DEF: /OMP_DO MainProgram
6-
program omp_do
6+
program OMP_DO
77
!DEF: /OMP_DO/i ObjectEntity INTEGER(4)
88
!DEF: /OMP_DO/j ObjectEntity INTEGER(4)
99
!DEF: /OMP_DO/k ObjectEntity INTEGER(4)
@@ -19,17 +19,17 @@ program omp_do
1919
end do
2020
end do
2121
!$omp end do
22-
end program omp_do
22+
end program OMP_DO
2323

24-
!DEF: /OMP_DO2 (Subroutine)Subprogram
24+
!DEF: /omp_do2 (Subroutine)Subprogram
2525
subroutine omp_do2
26-
!DEF: /OMP_DO2/i ObjectEntity INTEGER(4)
27-
!DEF: /OMP_DO2/k ObjectEntity INTEGER(4)
26+
!DEF: /omp_do2/i ObjectEntity INTEGER(4)
27+
!DEF: /omp_do2/k ObjectEntity INTEGER(4)
2828
integer :: i = 0, k
2929
!$omp do
30-
!DEF: /OMP_DO2/OtherConstruct1/i (OmpPrivate, OmpPreDetermined) HostAssoc INTEGER(4)
30+
!DEF: /omp_do2/OtherConstruct1/i (OmpPrivate, OmpPreDetermined) HostAssoc INTEGER(4)
3131
do i=1,10
32-
!REF: /OMP_DO2/OtherConstruct1/i
32+
!REF: /omp_do2/OtherConstruct1/i
3333
print *, "it", i
3434
end do
3535
!$omp end do

0 commit comments

Comments
 (0)