summaryrefslogtreecommitdiff
path: root/test/Frontend/rewrite-includes-messages.c
blob: a3a5cb2eae6c686d0fdfc05ae961d0c40d4d5c01 (plain)
1
2
3
4
5
6
7
// RUN: %clang_cc1 -E -frewrite-includes %s -I%S/Inputs/ | %clang_cc1 -Wall -fsyntax-only -Wunused-macros -x c - 2>&1 > %t.1
// RUN: %clang_cc1 -I%S/Inputs/ -Wall -Wunused-macros -fsyntax-only %s 2>&1 > %t.2
// RUN: diff -u %t.1 %t.2
// expected-no-diagnostics

#include "rewrite-includes-messages.h"
#define UNUSED_MACRO