Home | History | Annotate | Download | only in gnu_cxx
      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 #include <ext/hash_map>
     11 
     12 namespace __gnu_cxx {
     13 template class hash_map<int, int>;
     14 }
     15 
     16 int main() {
     17   typedef __gnu_cxx::hash_map<int, int> Map;
     18   Map m;
     19   Map m2(m);
     20   ((void)m2);
     21 }
     22