Debian Codegraph @

clang/test/PCH/format-strings.c

raw
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