mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 05:32:25 +00:00
AsmParser: add missed tests
The diagnostics tests were missing from the previous introduction of ifeqs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202674 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c594f39acb
commit
00e373aa73
22
test/MC/AsmParser/ifeqs-diagnostics.s
Normal file
22
test/MC/AsmParser/ifeqs-diagnostics.s
Normal file
@ -0,0 +1,22 @@
|
||||
// RUN: not llvm-mc -triple i386 %s -o /dev/null 2>&1 | FileCheck %s
|
||||
|
||||
.ifeqs
|
||||
|
||||
// CHECK: error: expected string parameter for '.ifeqs' directive
|
||||
// CHECK: .ifeqs
|
||||
// CHECK: ^
|
||||
|
||||
.ifeqs "string1"
|
||||
|
||||
// CHECK: error: expected comma after first string for '.ifeqs' directive
|
||||
// CHECK: .ifeqs "string1"
|
||||
// CHECK: ^
|
||||
|
||||
.ifeqs "string1",
|
||||
|
||||
// CHECK: error: expected string parameter for '.ifeqs' directive
|
||||
// CHECK: .ifeqs "string1",
|
||||
// CHECK: ^
|
||||
|
||||
// CHECK-NOT: error: unmatched .ifs or .elses
|
||||
|
Loading…
Reference in New Issue
Block a user