diff options
Diffstat (limited to 'llvm/test/MC/ELF/debug-md5-err.s')
| -rw-r--r-- | llvm/test/MC/ELF/debug-md5-err.s | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/test/MC/ELF/debug-md5-err.s b/llvm/test/MC/ELF/debug-md5-err.s index 989aecce7f2..fef628df80a 100644 --- a/llvm/test/MC/ELF/debug-md5-err.s +++ b/llvm/test/MC/ELF/debug-md5-err.s @@ -1,4 +1,5 @@ # RUN: not llvm-mc -triple x86_64-unknown-unknown -dwarf-version 5 -filetype=asm %s -o /dev/null 2>&1 | FileCheck %s +# RUN: not llvm-mc -triple x86_64-unknown-unknown -dwarf-version 5 -filetype=obj %s -o /dev/null 2>&1 | FileCheck %s # This is syntactically legal, looks like no checksum provided. # CHECK-NOT: [[@LINE+1]]:{{[0-9]+}}: error: @@ -19,3 +20,7 @@ # Non-DWARF .file syntax with checksum. # CHECK: [[@LINE+1]]:{{[0-9]+}}: error: MD5 checksum specified, but no file number .file "baz" md5 "ffeeddccbbaa998877665544332211gg" + +# Inconsistent use of MD5 option. Note: .file 1 did not supply one. +# CHECK: [[@LINE+1]]:{{[0-9]+}}: error: inconsistent use of MD5 checksums + .file 5 "bax" md5 "ffeeddccbbaa99887766554433221100" |

