18 lines · plain
1! Ensure arguments -ffree-form and -ffixed-form work as expected.2 3!--------------------------4! FLANG DRIVER (flang)5!--------------------------6! RUN: not %flang -fsyntax-only -ffree-form %S/Inputs/fixed-form-test.f 2>&1 | FileCheck %s --check-prefix=FREEFORM7! RUN: %flang -fsyntax-only -ffixed-form %S/Inputs/free-form-test.f90 2>&1 | FileCheck %s --check-prefix=FIXEDFORM8 9!----------------------------------------10! FRONTEND FLANG DRIVER (flang -fc1)11!----------------------------------------12! RUN: not %flang_fc1 -fsyntax-only -ffree-form %S/Inputs/fixed-form-test.f 2>&1 | FileCheck %s --check-prefix=FREEFORM13! RUN: %flang_fc1 -fsyntax-only -ffixed-form %S/Inputs/free-form-test.f90 2>&1 | FileCheck %s --check-prefix=FIXEDFORM14 15! FREEFORM: Could not parse16 17! FIXEDFORM:free-form-test.f90:1:1: warning: Character in fixed-form label field must be a digit18