summaryrefslogtreecommitdiff
path: root/clang/test/Preprocessor/mi_opt.c
blob: 597ac072b871bae95598089a464ac510d2b7c03d (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: not %clang_cc1 -fsyntax-only %s
// PR1900
// This test should get a redefinition error from m_iopt.h: the MI opt 
// shouldn't apply.

#define MACRO
#include "mi_opt.h"
#undef MACRO
#define MACRO || 1
#include "mi_opt.h"