diff --git a/flang/test/Driver/lto-lld-flags.f90 b/flang/test/Driver/lto-lld-flags.f90 index 055526ab02a9d..851ed0913cdec 100644 --- a/flang/test/Driver/lto-lld-flags.f90 +++ b/flang/test/Driver/lto-lld-flags.f90 @@ -1,4 +1,5 @@ ! UNSUPPORTED: system-windows +! REQUIRES: lld ! check flto-partitions is passed to lld, and not to fc1 ! RUN: %flang -### -fuse-ld=lld -flto=full -flto-partitions=16 %s 2>&1 | FileCheck %s --check-prefixes=LLD-PART,FC1-PART