]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/Frontend/rewrite-includes-messages.c
Vendor import of clang trunk r338150:
[FreeBSD/FreeBSD.git] / test / Frontend / rewrite-includes-messages.c
1 // 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 -fsyntax-only %s 2>&1 > %t.2
3 // RUN: diff -u %t.1 %t.2
4 // expected-no-diagnostics
5
6 #include "rewrite-includes-messages.h"
7 #define UNUSED_MACRO