summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bindings
diff options
context:
space:
mode:
authorAmaury Sechet <deadalnix@gmail.com>2016-02-16 08:37:01 +0000
committerAmaury Sechet <deadalnix@gmail.com>2016-02-16 08:37:01 +0000
commitf447a6b5f4cb8a2da217d88b0dff5e95caa8a134 (patch)
tree1f0bb02dcd149d654ce199f6f4314d3ceedb0a1e /llvm/test/Bindings
parent6987e59cd1774a360965142d8ba66b6a3f4c83d0 (diff)
downloadbcm5719-llvm-f447a6b5f4cb8a2da217d88b0dff5e95caa8a134.tar.gz
bcm5719-llvm-f447a6b5f4cb8a2da217d88b0dff5e95caa8a134.zip
Make sure the functions' range is empty before going through it in the LLVM C API test
llvm-svn: 260947
Diffstat (limited to 'llvm/test/Bindings')
-rw-r--r--llvm/test/Bindings/llvm-c/empty.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/Bindings/llvm-c/empty.ll b/llvm/test/Bindings/llvm-c/empty.ll
new file mode 100644
index 00000000000..eb73b83b529
--- /dev/null
+++ b/llvm/test/Bindings/llvm-c/empty.ll
@@ -0,0 +1,3 @@
+; RUN: llvm-as < %s | llvm-dis > %t.orig
+; RUN: llvm-as < %s | llvm-c-test --echo > %t.echo
+; RUN: diff -w %t.orig %t.echo
OpenPOWER on IntegriCloud