llvm-for-llvmta/tools/clang/test/Frontend/rewrite-includes-messages.c

8 lines
322 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -E -frewrite-includes %s -I%S/Inputs/ | %clang_cc1 -Wall -fsyntax-only -Wunused-macros -x c - 2>&1 > %t.1
// RUN: %clang_cc1 -I%S/Inputs/ -Wall -Wunused-macros -fsyntax-only %s 2>&1 > %t.2
// RUN: diff -u %t.1 %t.2
// expected-no-diagnostics
#include "rewrite-includes-messages.h"
#define UNUSED_MACRO