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 //===----------------------------------------------------------------------===// 8 9 // test that <bitset> includes <cstddef>, <string>, <stdexcept> and <iosfwd> 10 11 #include <bitset> 12 13 #include "test_macros.h" 14 15 #ifndef _LIBCPP_CSTDDEF 16 #error <cstddef> has not been included 17 #endif 18 19 #ifndef _LIBCPP_STRING 20 #error <string> has not been included 21 #endif 22 23 #ifndef _LIBCPP_STDEXCEPT 24 #error <stdexcept> has not been included 25 #endif 26 27 #ifndef _LIBCPP_IOSFWD 28 #error <iosfwd> has not been included 29 #endif 30 main(int,char **)31int main(int, char**) 32 { 33 34 return 0; 35 } 36