aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Driver/invalid-offload-options.cpp
blob: 6048a3ca82e7787e63860de00fc5c25b980913ca (plain)
1
2
3
4
5
6
7
// UNSUPPORTED: system-windows

// RUN: not %clang -### -x hip --target=x86_64-linux-gnu --offload=foo \
// RUN:   --hip-path=%S/Inputs/hipspv -nogpuinc -nogpulib %s \
// RUN: 2>&1 | FileCheck --check-prefix=INVALID-TARGET %s

// INVALID-TARGET: error: invalid or unsupported offload target: '{{.*}}'