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
/
Frontend
/
minimize_source_to_dependency_directives.c
blob
39f608b264a6a47f9fa46d38beb1957572c5f03d
1
// RUN: %clang_cc1 -print-dependency-directives-minimized-source %s > %t
2
// RUN: echo END. >> %t
3
// RUN: FileCheck < %t %s
4
5
#ifdef FOO
6
#include
"a.h"
7
#else
8
void
skipThisCode
();
9
#endif
10
11
// CHECK: #ifdef FOO
12
// CHECK-NEXT: #include "a.h"
13
// CHECK-NEXT: #endif
14
// CHECK-NEXT: END.