[flang-commits] [flang] 4b12b25 - [flang][nfc] Update expected warning message in test
Emil Kieri via flang-commits
flang-commits at lists.llvm.org
Thu Aug 18 12:04:13 PDT 2022
Author: Emil Kieri
Date: 2022-08-18T21:03:48+02:00
New Revision: 4b12b256d75d017664af80efca40bf4a7d5300b8
URL: https://github.com/llvm/llvm-project/commit/4b12b256d75d017664af80efca40bf4a7d5300b8
DIFF: https://github.com/llvm/llvm-project/commit/4b12b256d75d017664af80efca40bf4a7d5300b8.diff
LOG: [flang][nfc] Update expected warning message in test
to match the emitted warning, which has changed. I push this without
review as it is a one-line NFC. I have discussed it in D130386, which
altered the warning in question.
Added:
Modified:
flang/test/Semantics/associated.f90
Removed:
################################################################################
diff --git a/flang/test/Semantics/associated.f90 b/flang/test/Semantics/associated.f90
index e9254a04ba32c..09639ad409e6a 100644
--- a/flang/test/Semantics/associated.f90
+++ b/flang/test/Semantics/associated.f90
@@ -137,7 +137,7 @@ subroutine test()
lVar = associated(intprocPointer1, intVar)
!ERROR: Procedure pointer 'intprocpointer1' associated with incompatible procedure designator 'elementalproc': incompatible procedure attributes: Elemental
intProcPointer1 => elementalProc
- !WARNING: Procedure pointer 'intprocpointer1' associated with incompatible procedure designator 'elementalproc': incompatible dummy argument #1: incompatible dummy data object attributes
+ !WARNING: Procedure pointer 'intprocpointer1' associated with incompatible procedure designator 'elementalproc': incompatible procedure attributes: Elemental
lvar = associated(intProcPointer1, elementalProc)
!ERROR: POINTER= argument 'intpointervar1' is an object pointer but the TARGET= argument 'intfunc' is a procedure designator
lvar = associated (intPointerVar1, intFunc)
More information about the flang-commits
mailing list