diff --git a/flang/test/Semantics/label14.f90 b/flang/test/Semantics/label14.f90 --- a/flang/test/Semantics/label14.f90 +++ b/flang/test/Semantics/label14.f90 @@ -2,7 +2,7 @@ ! 11.1.4 - 4 It is permissible to branch to and end-block-stmt only withinh its ! Block Construct -! RUN: not %f18 %s 2>&1 | FileCheck %s +! RUN: %flang_fc1 -fsyntax-only %s 2>&1 | FileCheck %s ! CHECK: Label '20' is not in scope subroutine s1 diff --git a/flang/test/Semantics/resolve105.f90 b/flang/test/Semantics/resolve105.f90 --- a/flang/test/Semantics/resolve105.f90 +++ b/flang/test/Semantics/resolve105.f90 @@ -1,4 +1,4 @@ -! RUN: %S/test_errors.sh %s %t %f18 +! RUN: %S/test_errors.sh %s %t %flang_fc1 ! Test instantiation of components that are procedure pointers. ! program test