8 lines · plain
1RUN: %scan-build sh -c 'echo "CLANG_CXX=/$(basename "$CLANG_CXX")/"' | FileCheck %s2 3Check that scan-build sets the CLANG_CXX environment variable (meant to be4consumed by ccc-analyzer) to an appropriate pathname for the clang++ executable,5derived from the pathname of the clang executable:6 7CHECK: CLANG_CXX=/clang++{{(\.exe)?}}/8