mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-27 02:46:06 +00:00

Invoke diff such that options precede operands. Not doing so leads to unspecified behaviour under the LSB. llvm-svn: 321830
8 lines
322 B
C
8 lines
322 B
C
// 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
|