Files
clang-p2996/clang/test/Modules/Inputs/PR20399/stl_map.h
David Blaikie e50bd2b21c Reduce the PR20399 test case.
I couldn't get something /really/ obvious, and I imagine Richard Smith
might be able to provide some text explaining the sequence of steps
that's demonstrated by these files - but at least it's a bit simpler
now.

llvm-svn: 218840
2014-10-01 23:16:30 +00:00

14 lines
238 B
C++

namespace std {
struct reverse_iterator {};
inline void
operator-(int __x, reverse_iterator __y) {}
template <typename _Key>
struct map {
typedef int iterator;
friend bool operator<(const map &, const map &);
};
} // namespace std