aboutsummaryrefslogtreecommitdiff
path: root/test/Archive/extract_MacOSX.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Archive/extract_MacOSX.ll')
-rw-r--r--test/Archive/extract_MacOSX.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Archive/extract_MacOSX.ll b/test/Archive/extract_MacOSX.ll
new file mode 100644
index 0000000000..e835f4037f
--- /dev/null
+++ b/test/Archive/extract_MacOSX.ll
@@ -0,0 +1,6 @@
+;This isn't really an assembly file, its just here to run the test.
+;This test just makes sure that llvm-ar can extract bytecode members
+;from MacOSX style archives
+
+;RUN: llvm-ar x %p/MacOSX.a very_long_bytecode_file_name.bc
+;RUN: diff -q %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc