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
/
rewrite-includes-macros.cpp
blob
f374708a76d3214ab1cfe1a743ac23e145fa4b6c
1
// RUN: %clang_cl /E -Xclang -frewrite-includes -- %s | %clang_cl /c -Xclang -verify /Tp -
2
// expected-no-diagnostics
3
4
// This test uses dos-style \r\n line endings.
5
// Make sure your editor doesn't rewrite them to unix-style \n line endings.
6
int
foo
();
7
int
bar
();
8
#define HELLO \
9
foo(); \
10
bar();
11
12
int
main
() {
13
HELLO
14
return
0
;
15
}