llvm-project/clang/test/Frontend/rewrite-includes-messages.c

9 lines
312 B
C
Raw Normal View History

// 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