// RUN: rm -rf %t
// RUN: split-file %s %t
// RUN: sed -e "s|DIR|%/t|g" %t/compile-commands.json.in > %t/compile-commands.json
// RUN: clang-scan-deps -compilation-database %t/compile-commands.json -j 1 -format experimental-full \
// RUN: -mode preprocess-dependency-directives -generate-modules-path-args > %t/output
// RUN: FileCheck %s < %t/output
// CHECK: "-disable-free",
//--- compile-commands.json.in
//--- module.modulemap
module A
//--- a.h
void ;
//--- main.c
void