summaryrefslogtreecommitdiffstats
path: root/llvm/test/Object/yaml2obj-invalid.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Object/yaml2obj-invalid.yaml')
-rw-r--r--llvm/test/Object/yaml2obj-invalid.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/Object/yaml2obj-invalid.yaml b/llvm/test/Object/yaml2obj-invalid.yaml
new file mode 100644
index 00000000000..fba4ad81407
--- /dev/null
+++ b/llvm/test/Object/yaml2obj-invalid.yaml
@@ -0,0 +1,4 @@
+AAA: | BBB
+
+# RUN: not yaml2obj %s 2>&1 | FileCheck %s
+# CHECK: Map value must not be empty
OpenPOWER on IntegriCloud