• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# REQUIRES: x86
2# RUN: mkdir -p %t
3# RUN: echo "--- !tapi-tbd-v3" > %t/libinvalidYAML.tbd
4# RUN: echo "invalid YAML" >> %t/libinvalidYAML.tbd
5# RUN: llvm-mc -filetype obj -triple x86_64-apple-darwin %s -o %t/test.o
6# RUN: not %lld -L%t -linvalidYAML %t/test.o -o %t/test 2>&1 | FileCheck %s -DDIR=%t
7
8# CHECK: could not load TAPI file at [[DIR]]{{[\\/]}}libinvalidYAML.tbd: malformed file
9
10.globl _main
11_main:
12  ret
13