opnsense-src/test/Preprocessor/mi_opt.c

12 lines
230 B
C
Raw Normal View History

2010-01-01 05:34:51 -05:00
// RUN: not %clang_cc1 -fsyntax-only %s
2009-06-02 13:58:47 -04:00
// 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"