1*0a6a1f1dSLionel Sambuc // RUN: mkdir -p %t 2*0a6a1f1dSLionel Sambuc // RUN: touch %t/header.h 3*0a6a1f1dSLionel Sambuc // RUN: env CINDEXTEST_EDITING=1 c-index-test -test-load-source-reparse 2 local %s -I %t 2>&1 > %t.out.txt | FileCheck %s 4*0a6a1f1dSLionel Sambuc // CHECK: preamble-reparse-warn-macro.c:[[@LINE+8]]:9: warning: 'MAC' macro redefined 5*0a6a1f1dSLionel Sambuc // CHECK-NEXT: Number FIX-ITs = 0 6*0a6a1f1dSLionel Sambuc // CHECK-NEXT: preamble-reparse-warn-macro.c:[[@LINE+2]]:9: note: previous definition is here 7*0a6a1f1dSLionel Sambuc 8*0a6a1f1dSLionel Sambuc #define MAC 1 9*0a6a1f1dSLionel Sambuc #include "header.h" 10*0a6a1f1dSLionel Sambuc 11*0a6a1f1dSLionel Sambuc void test(); 12*0a6a1f1dSLionel Sambuc #define MAC 2 13