xref: /aosp_15_r20/external/clang/test/Frontend/rewrite-includes-messages.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
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 %t.1 %t.2 -u
4 // expected-no-diagnostics
5 
6 #include "rewrite-includes-messages.h"
7 #define UNUSED_MACRO
8