[lld] Fix vs-diagnostics-version-script test. NFC.

Removed unnecessary llvm-mc call.

llvm-svn: 366418
This commit is contained in:
Chris Jackson 2019-07-18 09:17:11 +00:00
parent 36d9e8358a
commit 0b03429a91
1 changed files with 2 additions and 5 deletions

View File

@ -1,8 +1,5 @@
# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
# RUN: rm -f %/terr1.script
# RUN: echo "\"" > %/terr1.script
# RUN: not ld.lld --vs-diagnostics --version-script %/terr1.script -shared %/t.o -o %/t.so 2>&1 | \
# RUN: echo "\"" > %/terr1.script
# RUN: not ld.lld --vs-diagnostics --version-script %/terr1.script 2>&1 | \
# RUN: FileCheck %s -DSCRIPT="%/terr1.script"
# CHECK: [[SCRIPT]](1): error: [[SCRIPT]]:1: unclosed quote