aboutsummaryrefslogtreecommitdiffstats
path: root/test/Archive
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2010-12-07 03:35:20 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2010-12-07 03:35:20 +0000
commitb9949b297039a2fd3bae366d5da88d432012ce08 (patch)
tree4d8700ac30fca13d4256f164470b54659d12cd14 /test/Archive
parent50004bedfa2bb8c0ea97cab4382431f270db2d19 (diff)
downloadexternal_llvm-b9949b297039a2fd3bae366d5da88d432012ce08.zip
external_llvm-b9949b297039a2fd3bae366d5da88d432012ce08.tar.gz
external_llvm-b9949b297039a2fd3bae366d5da88d432012ce08.tar.bz2
test/Archive/check_binary_output.ll: Add a new test to check output of 'llvm-ar -p' is sane. Thanks to Danil Malyshev!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121106 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Archive')
-rw-r--r--test/Archive/check_binary_output.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Archive/check_binary_output.ll b/test/Archive/check_binary_output.ll
new file mode 100644
index 0000000..60ab5ca
--- /dev/null
+++ b/test/Archive/check_binary_output.ll
@@ -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 -