mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-25 00:29:20 +00:00
The diagnostics tests were missing from the previous introduction of ifeqs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202674 91177308-0d34-0410-b5e6-96231b3b80d8
23 lines
518 B
ArmAsm
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
|
|
|