summaryrefslogtreecommitdiffstats
path: root/llvm/test/Archive/toc_GNU.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Archive/toc_GNU.ll')
-rw-r--r--llvm/test/Archive/toc_GNU.ll7
1 files changed, 5 insertions, 2 deletions
diff --git a/llvm/test/Archive/toc_GNU.ll b/llvm/test/Archive/toc_GNU.ll
index 136f603a831..9ed7d8eb8cb 100644
--- a/llvm/test/Archive/toc_GNU.ll
+++ b/llvm/test/Archive/toc_GNU.ll
@@ -1,5 +1,8 @@
;This isn't really an assembly file, its just here to run the test.
;This test just makes sure that llvm-ar can generate a table of contents for
;GNU style archives
-;RUN: llvm-ar t %p/GNU.a > %t1
-;RUN: diff %t1 %p/GNU.toc
+;RUN: llvm-ar t %p/GNU.a | FileCheck %s
+;CHECK: evenlen
+;CHECK-NEXT: oddlen
+;CHECK-NEXT: very_long_bytecode_file_name.bc
+;CHECK-NEXT: IsNAN.o
OpenPOWER on IntegriCloud