test/Archive/check_binary_output.ll: Add a new test to check output of 'llvm-ar ...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 7 Dec 2010 03:35:20 +0000 (03:35 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 7 Dec 2010 03:35:20 +0000 (03:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121106 91177308-0d34-0410-b5e6-96231b3b80d8

test/Archive/check_binary_output.ll [new file with mode: 0644]

diff --git a/test/Archive/check_binary_output.ll b/test/Archive/check_binary_output.ll
new file mode 100644 (file)
index 0000000..60ab5ca
--- /dev/null
@@ -0,0 +1,4 @@
+; This is not an assembly file, this is just to run the test.
+; The test verifies that llvm-ar produces a binary output.
+
+;RUN: llvm-ar p %p/GNU.a very_long_bytecode_file_name.bc | cmp -s %p/very_long_bytecode_file_name.bc -