1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E %s | FileCheck %s 2*f4a2713aSLionel Sambuc // PR6282 3*f4a2713aSLionel Sambuc // This test should not trigger the include guard optimization since 4*f4a2713aSLionel Sambuc // the guard macro is defined on the first include. 5*f4a2713aSLionel Sambuc 6*f4a2713aSLionel Sambuc #define ITERATING 1 7*f4a2713aSLionel Sambuc #define X 1 8*f4a2713aSLionel Sambuc #include "mi_opt2.h" 9*f4a2713aSLionel Sambuc #undef X 10*f4a2713aSLionel Sambuc #define X 2 11*f4a2713aSLionel Sambuc #include "mi_opt2.h" 12*f4a2713aSLionel Sambuc 13*f4a2713aSLionel Sambuc // CHECK: b: 1 14*f4a2713aSLionel Sambuc // CHECK: b: 2 15*f4a2713aSLionel Sambuc 16