summaryrefslogtreecommitdiffstats
path: root/clang/test/Frontend/rewrite-includes-messages.c
blob: b1cd9bbf151bae2947968fdf2adc622324383887 (plain)
1
2
3
4
5
6
7
8
// RUN: %clang -E -frewrite-includes %s -I%S/Inputs/ | %clang -Wall -Wunused-macros -x c -c - 2>&1 | tee %t.1
// RUN: %clang -I%S/Inputs/ -Wall -Wunused-macros -c %s 2>&1 | tee %t.2
// RUN: diff %t.1 %t.2
// expected-no-diagnostics
// REQUIRES: shell

#include "rewrite-includes-messages.h"
#define UNUSED_MACRO
OpenPOWER on IntegriCloud