Skip to content

Commit

Permalink
Address review comment.
Browse files Browse the repository at this point in the history
I have added CHECK lines as was suggested in the review.
  • Loading branch information
abidh committed May 7, 2024
1 parent 775794e commit 4b2122f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion flang/test/Integration/debug-loc-1.f90
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
!RUN: %flang_fc1 -emit-llvm -debug-info-kind=line-tables-only -fopenmp %s -o -
!RUN: %flang_fc1 -emit-llvm -debug-info-kind=line-tables-only -fopenmp %s -o - | FileCheck %s

! Test that this file builds without an error.

Expand All @@ -9,6 +9,7 @@ subroutine test1
integer :: i
real, save :: var

! CHECK: DILocation(line: [[@LINE+1]], {{.*}})
!$omp parallel do
do i=1,100
var = var + 0.1
Expand All @@ -21,6 +22,8 @@ subroutine test2

real, save :: tp
!$omp threadprivate (tp)
! CHECK: DILocation(line: [[@LINE+1]], {{.*}})
tp = tp + 1

end subroutine test2

Expand Down

0 comments on commit 4b2122f

Please sign in to comment.