summaryrefslogtreecommitdiffstats
path: root/test/Archive/toc_SVR4.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Archive/toc_SVR4.ll')
-rw-r--r--test/Archive/toc_SVR4.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Archive/toc_SVR4.ll b/test/Archive/toc_SVR4.ll
new file mode 100644
index 0000000..930a26f
--- /dev/null
+++ b/test/Archive/toc_SVR4.ll
@@ -0,0 +1,5 @@
+;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
+;SVR4 style archives
+;RUN: llvm-ar t %p/SVR4.a > %t1
+;RUN: diff %t1 %p/SVR4.toc