llvm-for-llvmta/tools/clang/test/Preprocessor/mi_opt.c
Nils Hölscher 7f403f4f1e added clang
2022-04-25 13:02:35 +02:00

12 lines
230 B
C

// 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"