//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // // struct random_access_iterator_tag : public bidirectional_iterator_tag {}; #include #include int main() { std::random_access_iterator_tag tag; static_assert((std::is_base_of::value), ""); static_assert((!std::is_base_of::value), ""); }