1 //===----------------------------------------------------------------------===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 // <iterator>
11
12 // template<class NotAnIterator>
13 // struct iterator_traits
14 // {
15 // };
16
17 #include <iterator>
18
19 struct not_an_iterator
20 {
21 };
22
main()23 int main()
24 {
25 typedef std::iterator_traits<not_an_iterator> It;
26 }
27