blob: 2e1a06bdc6e4a0d03446e918197de46dd12fa052 [file] [log] [blame]
// RUN: rm -rf %t
// RUN: split-file %s %t
//--- module.modulemap
module Mod { header "mod.h" }
//--- mod.h
#if __has_include("textual.h")
#endif
//--- textual.h
//--- tu.c
#include "mod.h"
// RUN: %clang -fsyntax-only %t/tu.c -fmodules -fmodules-cache-path=%t/cache -Werror=non-modular-include-in-module