clang/test/Driver/openacc-no-cir.c
raw| 1 | // RUN: %clang -fopenacc -S %s -o /dev/null 2>&1 | FileCheck %s -check-prefix=ERROR |
| 2 | // RUN: %clang -fclangir -fopenacc -S %s -o /dev/null 2>&1 | FileCheck %s --allow-empty -check-prefix=NOERROR |
| 3 | // RUN: %clang -fopenacc -fclangir -S %s -o /dev/null 2>&1 | FileCheck %s --allow-empty -check-prefix=NOERROR |
| 4 | |
| 5 | // ERROR: OpenACC directives will result in no runtime behavior; use -fclangir to enable runtime effect |
| 6 | // NOERROR-NOT: OpenACC directives |