2014-05-02 06:45:16 +08:00
|
|
|
// RUN: %clang_cc1 -E -frewrite-includes %s -I%S/Inputs/ | %clang_cc1 -Wall -fsyntax-only -Wunused-macros -x c - 2>&1 > %t.1
|
2014-05-02 07:58:20 +08:00
|
|
|
// RUN: %clang_cc1 -I%S/Inputs/ -Wall -Wunused-macros -fsyntax-only %s 2>&1 > %t.2
|
2014-05-02 06:45:16 +08:00
|
|
|
// RUN: diff %t.1 %t.2 -u
|
2014-05-02 05:11:57 +08:00
|
|
|
// expected-no-diagnostics
|
|
|
|
|
|
|
|
#include "rewrite-includes-messages.h"
|
|
|
|
#define UNUSED_MACRO
|