mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-08 06:38:02 +00:00
8fbe78f6fc
- This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446
12 lines
230 B
C
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"
|
|
|