22 lines · plain
1// RUN: not llvm-mc -triple x86_64-apple-darwin10 %s 2> %t.err > %t2// RUN: FileCheck --check-prefix=CHECK-OUTPUT < %t %s3// RUN: FileCheck --check-prefix=CHECK-ERROR < %t.err %s4 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_option10// CHECK-ERROR: expected string in '.linker_option' directive11// CHECK-ERROR: .linker_option 1012// CHECK-ERROR: ^13.linker_option 1014// CHECK-ERROR: expected string in '.linker_option' directive15// CHECK-ERROR: .linker_option "a",16// CHECK-ERROR: ^17.linker_option "a",18// CHECK-ERROR: unexpected token in '.linker_option' directive19// CHECK-ERROR: .linker_option "a" "b"20// CHECK-ERROR: ^21.linker_option "a" "b"22