//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // // struct forward_iterator_tag: public input_iterator_tag {}; #include #include int main() { std::forward_iterator_tag tag; static_assert((std::is_base_of::value), ""); static_assert((!std::is_base_of::value), ""); }