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