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