llvm-6502/test/MC/AsmParser/ifeqs-diagnostics.s
Sid Manning b243a3a556 Add support for .ifnes psuedo-op.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232636 91177308-0d34-0410-b5e6-96231b3b80d8
2015-03-18 14:20:54 +00:00

40 lines
918 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
.ifnes
// CHECK: error: expected string parameter for '.ifnes' directive
// CHECK: .ifnes
// CHECK: ^
.ifnes "string1"
// CHECK: error: expected comma after first string for '.ifnes' directive
// CHECK: .ifnes "string1"
// CHECK: ^
.ifnes "string1",
// CHECK: error: expected string parameter for '.ifnes' directive
// CHECK: .ifnes "string1",
// CHECK: ^