Home | History | Annotate | Download | only in vector.bool
      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 // UNSUPPORTED: c++98, c++03
     11 
     12 // <vector>
     13 
     14 // Test that <vector> provides all of the arithmetic, enum, and pointer
     15 // hash specializations.
     16 
     17 #include <vector>
     18 
     19 #include "poisoned_hash_helper.hpp"
     20 #include "min_allocator.h"
     21 
     22 int main() {
     23   test_library_hash_specializations_available();
     24   {
     25     test_hash_enabled_for_type<std::vector<bool> >();
     26     test_hash_enabled_for_type<std::vector<bool, min_allocator<bool>>>();
     27   }
     28 }
     29