repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
Modules
/
has_include_non_modular.c
blob
2e1a06bdc6e4a0d03446e918197de46dd12fa052
1
// RUN: rm -rf %t
2
// RUN: split-file %s %t
3
4
//--- module.modulemap
5
module Mod
{
header
"mod.h"
}
6
//--- mod.h
7
#if __has_include(
"textual.h"
)
8
#endif
9
//--- textual.h
10
11
//--- tu.c
12
#include
"mod.h"
13
14
// RUN: %clang -fsyntax-only %t/tu.c -fmodules -fmodules-cache-path=%t/cache -Werror=non-modular-include-in-module