1 | // RUN: %clang_cc1 -E -frewrite-includes %s -I%S/Inputs/ | %clang_cc1 -Wall -fsyntax-only -Wunused-macros -x c - 2>&1 > %t.1 |
---|---|
2 | // RUN: %clang_cc1 -I%S/Inputs/ -Wall -Wunused-macros -fsyntax-only %s 2>&1 > %t.2 |
3 | // RUN: diff -u %t.1 %t.2 |
4 | // expected-no-diagnostics |
5 | |
6 | #include "rewrite-includes-messages.h" |
7 | #define UNUSED_MACRO |
8 |