aboutsummaryrefslogtreecommitdiffstats
path: root/test/Object/objdump-export-list.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/Object/objdump-export-list.test')
-rw-r--r--test/Object/objdump-export-list.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Object/objdump-export-list.test b/test/Object/objdump-export-list.test
new file mode 100644
index 0000000..74344c1
--- /dev/null
+++ b/test/Object/objdump-export-list.test
@@ -0,0 +1,4 @@
+RUN: llvm-objdump -exports-trie %p/Inputs/macho-no-exports.dylib | FileCheck %s
+
+; Test that we don't crash with an empty export list.
+CHECK: macho-no-exports.dylib: file format Mach-O 64-bit x86-64