summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-nm/stdin.test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/tools/llvm-nm/stdin.test')
-rw-r--r--llvm/test/tools/llvm-nm/stdin.test33
1 files changed, 0 insertions, 33 deletions
diff --git a/llvm/test/tools/llvm-nm/stdin.test b/llvm/test/tools/llvm-nm/stdin.test
deleted file mode 100644
index 352ee23a30a..00000000000
--- a/llvm/test/tools/llvm-nm/stdin.test
+++ /dev/null
@@ -1,33 +0,0 @@
-## Test llvm-nm when using stdin both explicitly (using '-' as a filename)
-## and implicitly (not specifying any filename).
-
-# RUN: yaml2obj %s -o %t.o
-
-## Pass an explicit filename to produce a baseline output. llvm-nm should
-## have the same behavior when opening a file itself and when reading that
-## file from its standard input stream.
-# RUN: llvm-nm %t.o > %t.base 2> %t.err
-
-## Make sure there is no warning message about no file redirected to stdin.
-# RUN: FileCheck %s --input-file=%t.err --allow-empty --implicit-check-not={{.}}
-
-# RUN: llvm-nm - < %t.o > %t.explicit 2> %t.err
-# RUN: FileCheck %s --input-file=%t.err --allow-empty --implicit-check-not={{.}}
-# RUN: cmp %t.base %t.explicit
-
-# RUN: llvm-nm < %t.o > %t.implicit 2> %t.err
-# RUN: FileCheck %s --input-file=%t.err --allow-empty --implicit-check-not={{.}}
-# RUN: cmp %t.base %t.implicit
-
-!ELF
-FileHeader:
- Class: ELFCLASS64
- Data: ELFDATA2LSB
- Type: ET_REL
- Machine: EM_X86_64
-Sections:
- - Name: .text
- Type: SHT_PROGBITS
-Symbols:
- - Name: symbol_a
- Section: .text
OpenPOWER on IntegriCloud