| Daniel Dunbar | a45cf5b | 2009-03-24 02:24:46 +0000 | [diff] [blame] | 1 | // RUN: not clang-cc -fsyntax-only %s |
| Chris Lattner | a30be59 | 2008-01-07 19:50:27 +0000 | [diff] [blame] | 2 | // PR1900 |
| 3 | // This test should get a redefinition error from m_iopt.h: the MI opt | ||||
| 4 | // shouldn't apply. | ||||
| 5 | |||||
| 6 | #define MACRO | ||||
| 7 | #include "mi_opt.h" | ||||
| 8 | #undef MACRO | ||||
| 9 | #define MACRO || 1 | ||||
| 10 | #include "mi_opt.h" | ||||
| 11 | |||||