[PowerPC][NFC] Cleanup PPCCTRLoopsVerify pass
[llvm-project.git] / libcxx / test / std / utilities / template.bitset / includes.pass.cpp
blob43d9e08b66ac3ee7fe3cbfe0346628d3aac31a22
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 // test that <bitset> includes <string> and <iosfwd>
11 #include <bitset>
13 #include "test_macros.h"
15 template <class> void test_typedef() {}
17 int main(int, char**)
19 { // test for <string>
20 std::string s; ((void)s);
22 { // test for <iosfwd>
23 test_typedef<std::ios>();
24 test_typedef<std::wios>();
25 test_typedef<std::istream>();
26 test_typedef<std::ostream>();
27 test_typedef<std::iostream>();
30 return 0;