summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/test/ELF/undef-start.s6
1 files changed, 4 insertions, 2 deletions
diff --git a/lld/test/ELF/undef-start.s b/lld/test/ELF/undef-start.s
index 590d0a80096..d0e014721d2 100644
--- a/lld/test/ELF/undef-start.s
+++ b/lld/test/ELF/undef-start.s
@@ -1,3 +1,5 @@
-# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
-# RUN: ld.lld %t -o %t2 2>&1
# REQUIRES: x86
+# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
+# RUN: ld.lld %t.o -o %t 2>&1 | FileCheck %s
+
+# CHECK: warning: cannot find entry symbol _start
OpenPOWER on IntegriCloud