1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 11:33:24 +02:00
llvm-mirror/test/MC/AsmParser/ifeqs-diagnostics.s
Saleem Abdulrasool ceb96bcf7f AsmParser: add missed tests
The diagnostics tests were missing from the previous introduction of ifeqs.

llvm-svn: 202674
2014-03-03 06:35:00 +00:00

23 lines
518 B
ArmAsm

// 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