Xamarin Public Jenkins (auto-signing) 64ac736ec5 Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
2019-04-12 14:10:50 +00:00

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"