Update tests to include proper `error:` or `warning:` prefixes and file/section information in CHECK patterns. Add --implicit-check-not=error: to ensure no unexpected errors are produced.
10 lines
274 B
ArmAsm
10 lines
274 B
ArmAsm
# REQUIRES: x86
|
|
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
|
|
# RUN: ld.lld -o %t1.exe %t.o
|
|
# RUN: not ld.lld -o /dev/null %t1.exe 2>&1 | FileCheck %s --implicit-check-not=error:
|
|
# CHECK: error: {{.*}}: unknown file type
|
|
|
|
.global _start
|
|
_start:
|
|
ret
|