xref: /aosp_15_r20/external/clang/test/Preprocessor/mi_opt.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
1*67e74705SXin Li // RUN: not %clang_cc1 -fsyntax-only %s
2*67e74705SXin Li // PR1900
3*67e74705SXin Li // This test should get a redefinition error from m_iopt.h: the MI opt
4*67e74705SXin Li // shouldn't apply.
5*67e74705SXin Li 
6*67e74705SXin Li #define MACRO
7*67e74705SXin Li #include "mi_opt.h"
8*67e74705SXin Li #undef MACRO
9*67e74705SXin Li #define MACRO || 1
10*67e74705SXin Li #include "mi_opt.h"
11*67e74705SXin Li 
12