2 // RUN: split-file %s %t
4 // This test checks that source files with uncommon extensions still undergo
5 // dependency directives scan. If header.pch would not and b.h would, the scan
6 // would fail when parsing `void function(B)` and not knowing the symbol B.
9 module __PCH
{ header
"header.pch" }
10 module B
{ header
"b.h" }
29 "command": "clang -c DIR/tu.c -fmodules -fmodules-cache-path=DIR/cache -fimplicit-module-maps -include DIR/header.pch"
32 // RUN: sed -e "s|DIR|%/t|g" %t/cdb.json.in > %t/cdb.json
33 // RUN: clang-scan-deps -compilation-database %t/cdb.json -format experimental-full > %t/deps.json