Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / libcxx / test / std / depr / depr.str.strstreams / depr.istrstream / depr.verify.cpp
blob2ab252e93494841f7052bdf4ee9f1525b991e4a9
1 //===----------------------------------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 // <strstream>
11 // check that istrstream is marked deprecated
13 #include <strstream>
15 std::istrstream s("abc"); // expected-warning {{'istrstream' is deprecated}}