repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
Preprocessor
/
mi_opt2.c
blob
198d19fdb7acf37a51c6b045fb202cd65216b860
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.
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