includes.pass.cpp revision b64f8b07c104c6cc986570ac8ee0ed16a9f23976
1//===----------------------------------------------------------------------===//
2//
3//                     The LLVM Compiler Infrastructure
4//
5// This file is dual licensed under the MIT and the University of Illinois Open
6// Source Licenses. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10// test that <bitset> includes <cstddef>, <string>, <stdexcept> and <iosfwd>
11
12#include <bitset>
13
14#ifndef _LIBCPP_CSTDDEF
15#error <cstddef> has not been included
16#endif
17
18#ifndef _LIBCPP_STRING
19#error <string> has not been included
20#endif
21
22#ifndef _LIBCPP_STDEXCEPT
23#error <stdexcept> has not been included
24#endif
25
26#ifndef _LIBCPP_IOSFWD
27#error <iosfwd> has not been included
28#endif
29
30int main()
31{
32}
33