Files
clang-p2996/clang/test/InterfaceStubs/bad-format.cpp
Puyan Lotfi 678e19d80c [NFC] Fix for InterfaceStubs tests (adding REQUIRES: x86-registered-target).
clang-hexagon-elf bot was failing with:

'No available targets are compatible with triple "x86_64-unknown-linux-gnu"'

Adding a "// REQUIRES: x86-registered-target" to these tests to quiet the bot.

llvm-svn: 363963
2019-06-20 18:28:21 +00:00

9 lines
374 B
C++

// REQUIRES: x86-registered-target
// RUN: not %clang -target x86_64-linux-gnu -o - -emit-interface-stubs \
// RUN: -interface-stub-version=bar-format %s 2>&1 | FileCheck %s
// CHECK: error: invalid value
// CHECK: '-interface-stub-version=<experimental-tapi-elf-v1 |
// CHECK: experimental-yaml-elf-v1>' in 'Must specify a valid interface
// CHECK: stub format type using