blob: 19b517c328e72e06c609b1a567cd026b066b1e3d [file] [log] [blame]
//===----------------------------------------------------------------------===//
//
// 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 input_iterator_tag {};
#include <iterator>
#include <type_traits>
int main()
{
std::input_iterator_tag tag;
((void)tag); // Prevent unused warning
static_assert((!std::is_base_of<std::output_iterator_tag,
std::input_iterator_tag>::value), "");
}