Mercurial > hg > CbC > CbC_llvm
view clang/test/Preprocessor/mi_opt2.c @ 180:680fa57a2f20
fix compile errors.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 30 May 2020 17:44:06 +0900 |
parents | 1d019706d866 |
children |
line wrap: on
line source
// 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