1 // RUN: not llvm-mc -triple x86_64-apple-darwin10 %s 2> %t.err > %t 2 // RUN: FileCheck --check-prefix=CHECK-OUTPUT < %t %s 3 // RUN: FileCheck --check-prefix=CHECK-ERROR < %t.err %s 4 5 // CHECK-OUTPUT: .linker_option "a" 6 .linker_option "a" 7 // CHECK-OUTPUT: .linker_option "a", "b" 8 .linker_option "a", "b" 9 // CHECK-OUTPUT-NOT: .linker_option 10 // CHECK-ERROR: expected string in '.linker_option' directive 11 // CHECK-ERROR: .linker_option 10 12 // CHECK-ERROR: ^ 13 .linker_option 10 14 // CHECK-ERROR: expected string in '.linker_option' directive 15 // CHECK-ERROR: .linker_option "a", 16 // CHECK-ERROR: ^ 17 .linker_option "a", 18 // CHECK-ERROR: unexpected token in '.linker_option' directive 19 // CHECK-ERROR: .linker_option "a" "b" 20 // CHECK-ERROR: ^ 21 .linker_option "a" "b" 22