forked from OSchip/llvm-project
AsmParser: add missed tests
The diagnostics tests were missing from the previous introduction of ifeqs. llvm-svn: 202674
This commit is contained in:
parent
05c8dad230
commit
19dcc312ee
|
@ -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