Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CoverageMapping / Inputs / macros.h
blob0a2dadd1b81a371246adaa79bed94b869451809b
1 // Assorted macros to help test #include behavior across file boundaries.
3 #define helper1 0
5 void helper2(const char *, ...);
7 #define M1(a, ...) helper2(a, ##__VA_ARGS__);
9 // Note: M2 stresses vararg macro functions with macro arguments. The spelling
10 // locations of the args used to be set to the expansion site, leading to
11 // crashes (region LineEnd < LineStart). The regression test requires M2's line
12 // number to be greater than the line number containing the expansion.
13 #define M2(a, ...) M1(a, helper1, ##__VA_ARGS__);