reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
// 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"