blob: 517977a84c69bfdaf24948166343f70fdd593819 [file] [log] [blame]
Reid Klecknerc9bb8b52014-05-01 22:45:16 +00001// 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 %s 2>&1 > %t.2
3// RUN: diff %t.1 %t.2 -u
Lubos Lunak4526b462014-05-01 21:11:57 +00004// expected-no-diagnostics
Lubos Lunak4526b462014-05-01 21:11:57 +00005
6#include "rewrite-includes-messages.h"
7#define UNUSED_MACRO