Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Preprocessor / mi_opt2.c
blob198d19fdb7acf37a51c6b045fb202cd65216b860
1 // 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.
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"
13 // CHECK: b: 1
14 // CHECK: b: 2