brintos

brintos / llvm-project-archived public Read only

0
0
Text · 308 B · 2e1a06b Raw
15 lines · c
1// RUN: rm -rf %t2// RUN: split-file %s %t3 4//--- module.modulemap5module Mod { header "mod.h" }6//--- mod.h7#if __has_include("textual.h")8#endif9//--- textual.h10 11//--- tu.c12#include "mod.h"13 14// RUN: %clang -fsyntax-only %t/tu.c -fmodules -fmodules-cache-path=%t/cache -Werror=non-modular-include-in-module15