1// RUN: not llvm-mc -triple i386 %s -o /dev/null 2>&1 | FileCheck %s
2
3.ifeqs
4
5// CHECK: error: expected string parameter for '.ifeqs' directive
6// CHECK: .ifeqs
7// CHECK:       ^
8
9.ifeqs "string1"
10
11// CHECK: error: expected comma after first string for '.ifeqs' directive
12// CHECK: .ifeqs "string1"
13// CHECK:                 ^
14
15.ifeqs "string1",
16
17// CHECK: error: expected string parameter for '.ifeqs' directive
18// CHECK: .ifeqs "string1",
19// CHECK:                  ^
20
21// CHECK-NOT: error: unmatched .ifs or .elses
22
23.ifnes
24
25// CHECK: error: expected string parameter for '.ifnes' directive
26// CHECK: .ifnes
27// CHECK:       ^
28
29.ifnes "string1"
30
31// CHECK: error: expected comma after first string for '.ifnes' directive
32// CHECK: .ifnes "string1"
33// CHECK:                 ^
34
35.ifnes "string1",
36
37// CHECK: error: expected string parameter for '.ifnes' directive
38// CHECK: .ifnes "string1",
39// CHECK:                  ^
40