diff options
author | Sanne Wouda <sanne.wouda@arm.com> | 2017-02-08 16:14:01 +0000 |
---|---|---|
committer | Sanne Wouda <sanne.wouda@arm.com> | 2017-02-08 16:14:01 +0000 |
commit | 87ef7ef4f9a3fc7ae4c82bcddfbe6f5b978daa2a (patch) | |
tree | f9675fc78ee37ad7148a14a6d521f8c08f1c792c /test/Assembler | |
parent | f48edbb0e13e2f5dfd17df3111855fc327d6630b (diff) |
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: https://llvm.org/svn/llvm-project/llvm/trunk@294468 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Assembler')
-rw-r--r-- | test/Assembler/inline-asm-diags.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Assembler/inline-asm-diags.ll b/test/Assembler/inline-asm-diags.ll index d5d70356f70..d9fbb785098 100644 --- a/test/Assembler/inline-asm-diags.ll +++ b/test/Assembler/inline-asm-diags.ll @@ -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 |