summaryrefslogtreecommitdiffstats
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
commit1576fd71726263627f82b8f9476f68dec574e959 (patch)
treea5e958e46f1bb3861a77d93fee70ab344afb0701
parent2a61f4e3645098c31f51b4fd383c622e276c22e5 (diff)
downloadbcm5719-llvm-1576fd71726263627f82b8f9476f68dec574e959.tar.gz
bcm5719-llvm-1576fd71726263627f82b8f9476f68dec574e959.zip
test/Archive/check_binary_output.ll: Add a new test to check output of 'llvm-ar -p' is sane. Thanks to Danil Malyshev!
llvm-svn: 121106
-rw-r--r--llvm/test/Archive/check_binary_output.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/Archive/check_binary_output.ll b/llvm/test/Archive/check_binary_output.ll
new file mode 100644
index 00000000000..60ab5caac45
--- /dev/null
+++ b/llvm/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 -
OpenPOWER on IntegriCloud