aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Frontend/rewrite-includes-macros.cpp
blob: f374708a76d3214ab1cfe1a743ac23e145fa4b6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// RUN: %clang_cl /E -Xclang -frewrite-includes -- %s | %clang_cl /c -Xclang -verify /Tp -
// expected-no-diagnostics

// This test uses dos-style \r\n line endings.
// Make sure your editor doesn't rewrite them to unix-style \n line endings.
int foo();
int bar();
#define HELLO \
  foo(); \
  bar();

int main() {
  HELLO
  return 0;
}