1 // Default directory layout
2 // RUN: %clang -print-runtime-dir --target=x86_64-pc-windows-msvc \
3 // RUN: -resource-dir=%S/Inputs/resource_dir \
4 // RUN: | FileCheck --check-prefix=PRINT-RUNTIME-DIR -DFILE=%S/Inputs/resource_dir %s
5 // PRINT-RUNTIME-DIR: [[FILE]]{{/|\\}}lib{{/|\\}}windows
7 // Per-target directory layout
8 // RUN: %clang -print-runtime-dir --target=x86_64-pc-windows-msvc \
9 // RUN: -resource-dir=%S/Inputs/resource_dir_with_per_target_subdir \
10 // RUN: | FileCheck --check-prefix=PRINT-RUNTIME-DIR-PER-TARGET -DFILE=%S/Inputs/resource_dir_with_per_target_subdir %s
11 // PRINT-RUNTIME-DIR-PER-TARGET: [[FILE]]{{/|\\}}lib{{/|\\}}x86_64-pc-windows-msvc