aboutsummaryrefslogtreecommitdiff
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
parent50004bedfa2bb8c0ea97cab4382431f270db2d19 (diff)
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
-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 0000000000..60ab5caac4
--- /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 -