blob: 198d19fdb7acf37a51c6b045fb202cd65216b860 [file] [log] [blame]
Chris Lattner13d283d2010-02-12 08:03:27 +00001// RUN: %clang_cc1 -E %s | FileCheck %s
2// PR6282
3// This test should not trigger the include guard optimization since
4// the guard macro is defined on the first include.
5
6#define ITERATING 1
7#define X 1
8#include "mi_opt2.h"
9#undef X
10#define X 2
11#include "mi_opt2.h"
12
13// CHECK: b: 1
14// CHECK: b: 2
15