bolt/deps/llvm-18.1.8/llvm/test/MC/ARM/inline-asm-diags.ll
2025-02-14 19:21:04 +01:00

9 lines
313 B
LLVM

; RUN: not llc -mtriple=armv7-linux -filetype=obj < %s 2>&1 -o /dev/null | FileCheck %s
module asm ".word 0x10"
module asm ".word -bar"
; CHECK: <inline asm>:2:{{[0-9]+}}: error: expected relocatable expression
module asm ".word -foo"
; CHECK: <inline asm>:3:{{[0-9]+}}: error: expected relocatable expression