Chandler Carruth | 4d5e1a9 | 2012-12-17 21:40:04 +0000 | [diff] [blame] | 1 | // RUN: cd %S && %clang -### -g %s -c 2>&1 | FileCheck -check-prefix=CHECK-PWD %s |
2 | // CHECK-PWD: {{"-fdebug-compilation-dir" ".*Driver.*"}} | ||||
3 | |||||
Chandler Carruth | 4d5e1a9 | 2012-12-17 21:40:04 +0000 | [diff] [blame] | 4 | // "PWD=/foo gcc" wouldn't necessarily work. You would need to pick a different |
5 | // path to the same directory (try a symlink). | ||||
6 | |||||
7 | // This depends on host's behavior how $PWD would be set. | ||||
8 | // REQUIRES: shell |