llvm.org GIT mirror llvm / release_60 test / MC / ARM / inline-asm-diags.ll
release_60

Tree @release_60 (Download .tar.gz)

inline-asm-diags.ll @release_60raw · history · blame

1
2
3
4
5
6
7
8
9
; 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