mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-25 14:32:53 +00:00
cddd236e8a
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172778 91177308-0d34-0410-b5e6-96231b3b80d8
22 lines
808 B
ArmAsm
22 lines
808 B
ArmAsm
// RUN: not llvm-mc -triple x86_64-apple-darwin10 %s 2> %t.err > %t
|
|
// RUN: FileCheck --check-prefix=CHECK-OUTPUT < %t %s
|
|
// RUN: FileCheck --check-prefix=CHECK-ERROR < %t.err %s
|
|
|
|
// CHECK-OUTPUT: .linker_option "a"
|
|
.linker_option "a"
|
|
// CHECK-OUTPUT: .linker_option "a", "b"
|
|
.linker_option "a", "b"
|
|
// CHECK-OUTPUT-NOT: .linker_option
|
|
// CHECK-ERROR: expected string in '.linker_option' directive
|
|
// CHECK-ERROR: .linker_option 10
|
|
// CHECK-ERROR: ^
|
|
.linker_option 10
|
|
// CHECK-ERROR: expected string in '.linker_option' directive
|
|
// CHECK-ERROR: .linker_option "a",
|
|
// CHECK-ERROR: ^
|
|
.linker_option "a",
|
|
// CHECK-ERROR: unexpected token in '.linker_option' directive
|
|
// CHECK-ERROR: .linker_option "a" "b"
|
|
// CHECK-ERROR: ^
|
|
.linker_option "a" "b"
|