Skip to content

Commit a57f294

Browse files
Add a test for the invalid YAML input.
1 parent a3865b8 commit a57f294

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
; REQUIRES: x86_64-linux
2+
; RUN: split-file %s %t
3+
; RUN: not llvm-profdata merge %t/memprof-invalid.yaml -o %t/memprof-invalid.indexed
4+
5+
; Verify that the invalid YAML input results in an error.
6+
;--- memprof-invalid.yaml
7+
---
8+
...

0 commit comments

Comments
 (0)