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
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
PCH
/
format-strings.c
blob
3c5ec86b1cc1ca0d6c84c8279556d2e2471917e6
1
// RUN: %clang_cc1 -D FOOBAR="\"\"" %s -emit-pch -o %t.pch
2
// RUN: %clang_cc1 -D FOOBAR="\"\"" %s -include-pch %t.pch
3
4
#ifndef HEADER
5
#define HEADER
6
7
extern
int
printf
(
const char
*
restrict
, ...);
8
#define LOG printf(FOOBAR
"%f"
, __LINE__)
9
10
#else
11
12
void
foo
(
void
) {
13
LOG
;
14
}
15
16
#endif