summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2018-04-05 19:20:33 +0000
committerFangrui Song <maskray@google.com>2018-04-05 19:20:33 +0000
commitc43eff6208062d6e670ff6ce9ad1eebf877562b0 (patch)
tree6a1dd59493813e72a846a65ef9b088464ba0459e
parentb6070db0d0849481c6cd6cd9263530cbbb97b140 (diff)
downloadbcm5719-llvm-c43eff6208062d6e670ff6ce9ad1eebf877562b0.tar.gz
bcm5719-llvm-c43eff6208062d6e670ff6ce9ad1eebf877562b0.zip
[ELF] Add CHECK to test/ELF/undef-start.s
llvm-svn: 329333
-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