; RUN: not llc -march=x86 -filetype=obj < %s 2>&1 -o /dev/null | FileCheck %s

module asm ".word 0x10"
module asm ".word -bar"

; CHECK: <inline asm>:2:7: error: expected relocatable expression

module asm ".word -foo"
; CHECK: <inline asm>:3:7: error: expected relocatable expression

; RUN: not llc -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

Fix inline asm diagnostics test.
Fix inline asm diagnostics test.

Don't depend on X86 everywhere. Fix the original problem with a reg-exp for the
column number.



git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@294468 91177308-0d34-0410-b5e6-96231b3b80d8
