Skip to content

Commit 599b31f

Browse files
[Test] Fix a test to be valid
OpenMP 5.2 restriction: Each list item must have C_PTR or Cray pointer type or have the POINTER or ALLOCATABLE attribute.
1 parent bdb5b0f commit 599b31f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/test/Examples/omp-declarative-directive.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
! 2.8.2 declare-simd
88

99
subroutine declare_simd_1(a, b)
10-
real(8), intent(inout) :: a, b
10+
real(8), intent(inout), allocatable :: a, b
1111
!$omp declare simd(declare_simd_1) aligned(a)
1212
a = 3.14 + b
1313
end subroutine declare_simd_1

0 commit comments

Comments
 (0)