1 // Test that pruning non-affecting input files happens before serializing
2 // diagnostic pragma mappings.
5 // RUN: split-file %s %t
7 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/cache \
8 // RUN: -I %t/include_a -I %t/include_textual -fsyntax-only %t/tu.c
13 //--- include_a/module.modulemap
19 #include "textual.h" // This will also load the non-affecting
20 // include_textual/module.modulemap.
23 #pragma clang diagnostic push
24 #pragma clang diagnostic ignored "-Wfloat-equal"
25 #pragma clang diagnostic pop
27 //--- include_textual/module.modulemap
28 //--- include_textual/textual.h