diff --git a/clang/test/Driver/openacc-no-cir.c b/clang/test/Driver/openacc-no-cir.c index 7b67df2b6b886..891f175a001bb 100644 --- a/clang/test/Driver/openacc-no-cir.c +++ b/clang/test/Driver/openacc-no-cir.c @@ -1,6 +1,6 @@ -// RUN: %clang -fopenacc -S %s 2>&1 | FileCheck %s -check-prefix=ERROR -// RUN: %clang -fclangir -fopenacc -S %s 2>&1 | FileCheck %s --allow-empty -check-prefix=NOERROR -// RUN: %clang -fopenacc -fclangir -S %s 2>&1 | FileCheck %s --allow-empty -check-prefix=NOERROR +// RUN: %clang -fopenacc -S %s -o /dev/null 2>&1 | FileCheck %s -check-prefix=ERROR +// RUN: %clang -fclangir -fopenacc -S %s -o /dev/null 2>&1 | FileCheck %s --allow-empty -check-prefix=NOERROR +// RUN: %clang -fopenacc -fclangir -S %s -o /dev/null 2>&1 | FileCheck %s --allow-empty -check-prefix=NOERROR // ERROR: OpenACC directives will result in no runtime behavior; use -fclangir to enable runtime effect // NOERROR-NOT: OpenACC directives