Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Frontend / rewrite-includes-macros.cpp
blob1c2bfd440342fe4febd11365bc16f5ce1fba9922
1 // RUN: %clang_cl /E -Xclang -frewrite-includes -- %s | %clang_cl /c -Xclang -verify /Tp -
2 // expected-no-diagnostics
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();
12 int main() {
13 HELLO
14 return 0;