1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 11:33:24 +02:00

Fix inline asm diagnostics test.

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

llvm-svn: 294468
This commit is contained in:
Sanne Wouda 2017-02-08 16:14:01 +00:00
parent cfdd740e01
commit 910da934ce

View File

@ -1,9 +1,9 @@
; RUN: not llc -march=x86 -filetype=obj < %s 2>&1 -o /dev/null | FileCheck %s
; 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:7: error: expected relocatable expression
; CHECK: <inline asm>:2:{{[0-9]+}}: error: expected relocatable expression
module asm ".word -foo"
; CHECK: <inline asm>:3:7: error: expected relocatable expression
; CHECK: <inline asm>:3:{{[0-9]+}}: error: expected relocatable expression