Debian Codegraph @

clang/test/Driver/invalid-offload-options.cpp

raw
1 // UNSUPPORTED: system-windows
2
3 // RUN: not %clang -### -x hip --target=x86_64-linux-gnu --offload=foo \
4 // RUN: --hip-path=%S/Inputs/hipspv -nogpuinc -nogpulib %s \
5 // RUN: 2>&1 | FileCheck --check-prefix=INVALID-TARGET %s
6
7 // INVALID-TARGET: error: invalid or unsupported offload target: '{{.*}}'