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