Skip to content

Commit 6a88852

Browse files
Krish GuptaKrish Gupta
authored andcommitted
[flang][OpenMP] Adjust FileCheck to match generic 'ATOMIC operation' diagnostic
1 parent 022dd65 commit 6a88852

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/test/Semantics/OpenMP/omp-atomic-write-pointer-derived.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
type(t), pointer :: a1, a2
55
!$omp atomic write
66
a1 = a2
7-
! CHECK: error: ATOMIC WRITE requires an intrinsic scalar variable; 'a1' has the POINTER attribute and derived type 't'
7+
! CHECK: error: ATOMIC operation requires an intrinsic scalar variable; 'a1' has the POINTER attribute and derived type 't'
88
end

0 commit comments

Comments
 (0)