aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/AsmParser/ifeqs-diagnostics.s
blob: 1e5e8c3751f6b9a3d9c312925c539de4a0e716bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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