summaryrefslogtreecommitdiff
path: root/test/Archive/toc_GNU.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Archive/toc_GNU.ll')
-rw-r--r--test/Archive/toc_GNU.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Archive/toc_GNU.ll b/test/Archive/toc_GNU.ll
new file mode 100644
index 0000000000..f159563527
--- /dev/null
+++ b/test/Archive/toc_GNU.ll
@@ -0,0 +1,10 @@
+;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: sed -e '/^;.*/d' %s >%t2
+;RUN: diff %t2 %t1
+evenlen
+oddlen
+very_long_bytecode_file_name.bc
+IsNAN.o