blob: 483762d619d1783cfca383ecd4eb6b64f3a15f3e [file] [log] [blame]
REQUIRES: shell
RUN: %scan-build sh -c 'echo "CLANG_CXX=/$(basename "$CLANG_CXX")/"' | FileCheck %s
Check that scan-build sets the CLANG_CXX environment variable (meant to be
consumed by ccc-analyzer) to an appropriate pathname for the clang++ executable,
derived from the pathname of the clang executable:
CHECK: CLANG_CXX=/clang++{{(\.exe)?}}/