summaryrefslogtreecommitdiff
path: root/libcxx/test/std/iterators/iterator.primitives/iterator.basic/deprecated.verify.cpp
blob: 097801d02719841967f38f9d6bef6de19ef5287d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

// UNSUPPORTED: c++03, c++11, c++14

// std::iterator

#include <iterator>

std::iterator<std::input_iterator_tag, char> it; // expected-warning-re {{'iterator<{{.+}}>' is deprecated}}