xref: /minix3/external/bsd/llvm/dist/clang/test/Driver/debug.c (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc // RUN: cd %S && %clang -### -g %s -c 2>&1 | FileCheck -check-prefix=CHECK-PWD %s
2*f4a2713aSLionel Sambuc // CHECK-PWD: {{"-fdebug-compilation-dir" ".*Driver.*"}}
3*f4a2713aSLionel Sambuc 
4*f4a2713aSLionel Sambuc // "PWD=/foo gcc" wouldn't necessarily work. You would need to pick a different
5*f4a2713aSLionel Sambuc // path to the same directory (try a symlink).
6*f4a2713aSLionel Sambuc 
7*f4a2713aSLionel Sambuc // This depends on host's behavior how $PWD would be set.
8*f4a2713aSLionel Sambuc // REQUIRES: shell
9