1 ! Ensure argument -std=f2018 works as expected.
3 !-----------------------------------------
4 ! FRONTEND FLANG DRIVER (flang-new -fc1)
5 !-----------------------------------------
6 ! RUN: %flang_fc1 -fsyntax-only %s 2>&1 | FileCheck %s --allow-empty --check-prefix=WITHOUT
7 ! RUN: %flang_fc1 -fsyntax-only -std=f2018 %s 2>&1 | FileCheck %s --check-prefix=GIVEN
8 ! RUN: %flang_fc1 -fsyntax-only -pedantic %s 2>&1 | FileCheck %s --check-prefix=GIVEN
10 ! WITHOUT-NOT: A DO loop should terminate with an END DO or CONTINUE
12 ! GIVEN: A DO loop should terminate with an END DO or CONTINUE