//===----------------------------------------------------------------------===// // // 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 bidirectional_iterator_tag : public forward_iterator_tag {}; #include #include int main() { std::bidirectional_iterator_tag tag; static_assert((std::is_base_of::value), ""); static_assert((!std::is_base_of::value), ""); }