Argyrios Kyrtzidis | 69325d5 | 2011-07-09 20:00:58 +0000 | [diff] [blame] | 1 | // RUN: %clang -### -ccc-arcmt-migrate /foo/bar -fsyntax-only %s 2>&1 | FileCheck %s |
| 2 | |
Ted Kremenek | 30660a8 | 2012-03-06 20:06:33 +0000 | [diff] [blame] | 3 | // CHECK: "-arcmt-migrate" "-mt-migrate-directory" "{{[^"]*}}/foo/bar" |
Argyrios Kyrtzidis | 2289717 | 2011-10-07 22:58:08 +0000 | [diff] [blame] | 4 | |
| 5 | // RUN: touch %t.o |
Sebastian Pop | 9ec60df | 2012-01-20 22:01:23 +0000 | [diff] [blame] | 6 | // RUN: %clang -ccc-arcmt-check -target i386-apple-darwin9 -### %t.o 2> %t.log |
Argyrios Kyrtzidis | 2289717 | 2011-10-07 22:58:08 +0000 | [diff] [blame] | 7 | // RUN: FileCheck -check-prefix=LINK %s < %t.log |
Sebastian Pop | 9ec60df | 2012-01-20 22:01:23 +0000 | [diff] [blame] | 8 | // RUN: %clang -ccc-arcmt-migrate /foo/bar -target i386-apple-darwin9 -### %t.o 2> %t.log |
Argyrios Kyrtzidis | 2289717 | 2011-10-07 22:58:08 +0000 | [diff] [blame] | 9 | // RUN: FileCheck -check-prefix=LINK %s < %t.log |
| 10 | |
Argyrios Kyrtzidis | 8ed7bec | 2011-10-08 00:54:49 +0000 | [diff] [blame] | 11 | // LINK-NOT: {{ld(.exe)?"}} |
| 12 | // LINK: {{touch(.exe)?"}} |