llvm-project/clang/test/Modules/Inputs/ignored_macros.h
Douglas Gregor 8a114ab557 Detect when we end up trying to load conflicting module files.
This can happen when one abuses precompiled headers by passing more -D
options when using a precompiled hedaer than when it was built. This
is intentionally permitted by precompiled headers (and is exploited by
some build environments), but causes problems for modules.

First part of <rdar://problem/13165109>, detecting when something when
horribly wrong.

llvm-svn: 174554
2013-02-06 22:40:31 +00:00

9 lines
81 B
C

struct Point {
double x, y;
};
#ifdef IGNORED
int *has_ignored(void);
#endif