//===----------------------------------------------------------------------===// // // 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. // //===----------------------------------------------------------------------===// // <iterator> // struct output_iterator_tag {}; #include <iterator> #include <type_traits> int main() { std::output_iterator_tag tag; static_assert((!std::is_base_of<std::input_iterator_tag, std::output_iterator_tag>::value), ""); }