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

Removed unnecessary llvm-mc call.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@366418 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/ELF/vs-diagnostics-versionscript.s b/test/ELF/vs-diagnostics-versionscript.s
index 2f12ae6..1290157 100644
--- a/test/ELF/vs-diagnostics-versionscript.s
+++ b/test/ELF/vs-diagnostics-versionscript.s
@@ -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