blob: f93fe72e58d5b135ea2b3b115b1d30e0b4c8d144 [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
Lubos Lunakd9070c52014-05-01 23:58:20 +00002// RUN: %clang_cc1 -I%S/Inputs/ -Wall -Wunused-macros -fsyntax-only %s 2>&1 > %t.2
Reid Klecknerc9bb8b52014-05-01 22:45:16 +00003// 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