1// RUN: env HOME=%t.home %clang -fmodules -### %s 2>&1 | FileCheck %s -check-prefix=CHECK-DEFAULT 2// CHECK-DEFAULT: -fmodules-cache-path={{.*}}clang{{[/\\]+}}ModuleCache 3 4// RUN: env CLANG_MODULE_CACHE_PATH=/dev/null \ 5// RUN: %clang -fmodules -### %s 2>&1 | FileCheck %s -check-prefix=OVERRIDE 6// OVERRIDE: -fmodules-cache-path=/dev/null 7 8// RUN: env CLANG_MODULE_CACHE_PATH= \ 9// RUN: %clang -fmodules -### %s 2>&1 | FileCheck %s -check-prefix=DISABLE 10// DISABLE-NOT: -fmodules-cache-path= 11