1 // RUN: %clang -### -ccc-arcmt-migrate /foo/bar -fsyntax-only %s 2>&1 | FileCheck %s
3 // CHECK: "-arcmt-action=migrate" "-mt-migrate-directory" "{{[^"]*}}/foo/bar"
6 // RUN: %clang -ccc-arcmt-check -target i386-apple-darwin9 -### %t.o 2> %t.log
7 // RUN: FileCheck -check-prefix=LINK %s < %t.log
8 // RUN: %clang -ccc-arcmt-migrate /foo/bar -target i386-apple-darwin9 -### %t.o 2> %t.log
9 // RUN: FileCheck -check-prefix=LINK %s < %t.log
11 // LINK-NOT: {{ld(.exe)?"}}
12 // LINK: {{touch(.exe)?"}}
14 // RUN: %clang -### -ccc-arcmt-migrate /foo/bar -fsyntax-only -fno-objc-arc %s 2>&1 | FileCheck -check-prefix=CHECK-NOARC %s
15 // CHECK-NOARC-NOT: argument unused during compilation