summaryrefslogtreecommitdiff
path: root/test/ELF/static-error.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/ELF/static-error.s')
-rw-r--r--test/ELF/static-error.s13
1 files changed, 0 insertions, 13 deletions
diff --git a/test/ELF/static-error.s b/test/ELF/static-error.s
deleted file mode 100644
index 1ae98ab2c324..000000000000
--- a/test/ELF/static-error.s
+++ /dev/null
@@ -1,13 +0,0 @@
-// REQUIRES: x86
-// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %S/Inputs/shared.s -o %t.o
-// RUN: ld.lld -shared -o %t.so %t.o
-
-// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
-// RUN: ld.lld -o /dev/null %t.o %t.so
-// RUN: not ld.lld -o /dev/null -static %t.o %t.so 2>&1 | FileCheck %s
-
-// CHECK: attempted static link of dynamic object
-
-.global _start
-_start:
- nop