[flang] add semantics test for sync all
authorDamian Rouson <damian@sourceryinstitute.org>
Thu, 11 Nov 2021 19:27:15 +0000 (11:27 -0800)
committerDamian Rouson <rouson@lbl.gov>
Thu, 17 Feb 2022 04:43:01 +0000 (20:43 -0800)
commit99dd49cf97a49eba074c5c3e060e2ddf1da3bc2b
treea9f1b78e183365269bd58f80a37ad84f16c964d3
parent194899caef241fe3b61be092fd5dd81bfd2c3975
[flang] add semantics test for sync all

Test a range of acceptable forms of SYNC ALL statements,
including combinations with and without the stat-variable
and errmsg-variable present.  Also test that several invalid
forms of SYNC ALL call generate the correct error messages.

Differential Revision: https://reviews.llvm.org/D114181
flang/test/Semantics/synchronization01.f90 [new file with mode: 0644]