diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2019-05-31 18:35:30 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2019-05-31 18:35:30 +0000 |
commit | 7fc6a55688c816f5fc1a5481ae7af25be7500356 (patch) | |
tree | cac80ad839e171aa372cd03df408af1b90125db6 /libcxx/test/std/input.output/file.streams/fstreams | |
parent | 065bd45da9de57668cfaabe1b851a2e08acea215 (diff) | |
download | bcm5719-llvm-7fc6a55688c816f5fc1a5481ae7af25be7500356.tar.gz bcm5719-llvm-7fc6a55688c816f5fc1a5481ae7af25be7500356.zip |
Add include for 'test_macros.h' to all the tests that were missing them. Thanks to Zoe for the (big, but simple) patch. NFC intended.
llvm-svn: 362252
Diffstat (limited to 'libcxx/test/std/input.output/file.streams/fstreams')
52 files changed, 73 insertions, 0 deletions
diff --git a/libcxx/test/std/input.output/file.streams/fstreams/filebuf.assign/member_swap.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/filebuf.assign/member_swap.pass.cpp index 9bfcec0a48f..c4e67c1f7d2 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/filebuf.assign/member_swap.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/filebuf.assign/member_swap.pass.cpp @@ -15,6 +15,7 @@ #include <fstream> #include <cassert> +#include "test_macros.h" #include "platform_support.h" int main(int, char**) diff --git a/libcxx/test/std/input.output/file.streams/fstreams/filebuf.assign/move_assign.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/filebuf.assign/move_assign.pass.cpp index a397e6cc138..a6eef7b3a6a 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/filebuf.assign/move_assign.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/filebuf.assign/move_assign.pass.cpp @@ -17,6 +17,7 @@ #include <fstream> #include <cassert> +#include "test_macros.h" #include "platform_support.h" int main(int, char**) diff --git a/libcxx/test/std/input.output/file.streams/fstreams/filebuf.assign/nonmember_swap.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/filebuf.assign/nonmember_swap.pass.cpp index f23c119af90..4b7ec475619 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/filebuf.assign/nonmember_swap.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/filebuf.assign/nonmember_swap.pass.cpp @@ -17,6 +17,7 @@ #include <fstream> #include <cassert> +#include "test_macros.h" #include "platform_support.h" int main(int, char**) diff --git a/libcxx/test/std/input.output/file.streams/fstreams/filebuf.cons/default.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/filebuf.cons/default.pass.cpp index 5efbb03c8a6..58086904f23 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/filebuf.cons/default.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/filebuf.cons/default.pass.cpp @@ -16,6 +16,8 @@ #include <fstream> #include <cassert> +#include "test_macros.h" + int main(int, char**) { { diff --git a/libcxx/test/std/input.output/file.streams/fstreams/filebuf.cons/move.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/filebuf.cons/move.pass.cpp index 922e514d7f4..b816cc82279 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/filebuf.cons/move.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/filebuf.cons/move.pass.cpp @@ -17,6 +17,7 @@ #include <fstream> #include <cassert> +#include "test_macros.h" #include "platform_support.h" int main(int, char**) diff --git a/libcxx/test/std/input.output/file.streams/fstreams/filebuf.members/open_path.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/filebuf.members/open_path.pass.cpp index 4f8bacb205d..4da8f72c159 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/filebuf.members/open_path.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/filebuf.members/open_path.pass.cpp @@ -16,6 +16,7 @@ #include <fstream> #include <filesystem> #include <cassert> +#include "test_macros.h" #include "platform_support.h" namespace fs = std::filesystem; diff --git a/libcxx/test/std/input.output/file.streams/fstreams/filebuf.members/open_pointer.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/filebuf.members/open_pointer.pass.cpp index bd662a9f7f8..8b959880209 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/filebuf.members/open_pointer.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/filebuf.members/open_pointer.pass.cpp @@ -12,6 +12,7 @@ #include <fstream> #include <cassert> +#include "test_macros.h" #include "platform_support.h" int main(int, char**) diff --git a/libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/overflow.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/overflow.pass.cpp index 6636a422332..72d85323893 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/overflow.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/overflow.pass.cpp @@ -17,6 +17,7 @@ #include <fstream> #include <cassert> +#include "test_macros.h" #include "platform_support.h" // locale name macros template <class CharT> diff --git a/libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/underflow.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/underflow.pass.cpp index 47760a91627..1e3029a4edc 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/underflow.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/underflow.pass.cpp @@ -18,6 +18,7 @@ #include <cstddef> #include <cassert> +#include "test_macros.h" #include "platform_support.h" // locale name macros template <class CharT> diff --git a/libcxx/test/std/input.output/file.streams/fstreams/filebuf/types.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/filebuf/types.pass.cpp index 40c010f6f70..ad4249f4d80 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/filebuf/types.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/filebuf/types.pass.cpp @@ -22,6 +22,8 @@ #include <fstream> #include <type_traits> +#include "test_macros.h" + int main(int, char**) { static_assert((std::is_base_of<std::basic_streambuf<char>, std::basic_filebuf<char> >::value), ""); diff --git a/libcxx/test/std/input.output/file.streams/fstreams/fstream.assign/member_swap.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/fstream.assign/member_swap.pass.cpp index 7c94de924d9..d08ca9e0432 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/fstream.assign/member_swap.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/fstream.assign/member_swap.pass.cpp @@ -16,6 +16,7 @@ #include <fstream> #include <utility> #include <cassert> +#include "test_macros.h" #include "platform_support.h" std::pair<std::string, std::string> get_temp_file_names() { diff --git a/libcxx/test/std/input.output/file.streams/fstreams/fstream.assign/move_assign.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/fstream.assign/move_assign.pass.cpp index d2cc6ce722f..a7b78f6984c 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/fstream.assign/move_assign.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/fstream.assign/move_assign.pass.cpp @@ -17,6 +17,7 @@ #include <fstream> #include <cassert> +#include "test_macros.h" #include "platform_support.h" int main(int, char**) diff --git a/libcxx/test/std/input.output/file.streams/fstreams/fstream.assign/nonmember_swap.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/fstream.assign/nonmember_swap.pass.cpp index 071ca5d85e7..e222392ffff 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/fstream.assign/nonmember_swap.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/fstream.assign/nonmember_swap.pass.cpp @@ -17,6 +17,7 @@ #include <fstream> #include <utility> #include <cassert> +#include "test_macros.h" #include "platform_support.h" diff --git a/libcxx/test/std/input.output/file.streams/fstreams/fstream.cons/default.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/fstream.cons/default.pass.cpp index b38bbb4431f..ac746783cc9 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/fstream.cons/default.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/fstream.cons/default.pass.cpp @@ -16,6 +16,8 @@ #include <fstream> #include <type_traits> +#include "test_macros.h" + int main(int, char**) { { diff --git a/libcxx/test/std/input.output/file.streams/fstreams/fstream.cons/move.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/fstream.cons/move.pass.cpp index fb639f1c50b..882a07ffc01 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/fstream.cons/move.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/fstream.cons/move.pass.cpp @@ -17,6 +17,7 @@ #include <fstream> #include <cassert> +#include "test_macros.h" #include "platform_support.h" int main(int, char**) diff --git a/libcxx/test/std/input.output/file.streams/fstreams/fstream.cons/path.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/fstream.cons/path.pass.cpp index 19a64314ee8..0ff24fe23a7 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/fstream.cons/path.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/fstream.cons/path.pass.cpp @@ -20,6 +20,7 @@ #include <fstream> #include <filesystem> #include <cassert> +#include "test_macros.h" #include "platform_support.h" namespace fs = std::filesystem; diff --git a/libcxx/test/std/input.output/file.streams/fstreams/fstream.cons/pointer.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/fstream.cons/pointer.pass.cpp index 4cade955b9b..5ecdcc51e28 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/fstream.cons/pointer.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/fstream.cons/pointer.pass.cpp @@ -15,6 +15,7 @@ #include <fstream> #include <cassert> +#include "test_macros.h" #include "platform_support.h" int main(int, char**) diff --git a/libcxx/test/std/input.output/file.streams/fstreams/fstream.cons/string.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/fstream.cons/string.pass.cpp index 15a2c702393..d07926ac6ae 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/fstream.cons/string.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/fstream.cons/string.pass.cpp @@ -15,6 +15,7 @@ #include <fstream> #include <cassert> +#include "test_macros.h" #include "platform_support.h" int main(int, char**) diff --git a/libcxx/test/std/input.output/file.streams/fstreams/fstream.members/close.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/fstream.members/close.pass.cpp index 94a06c4670c..ac708d12e53 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/fstream.members/close.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/fstream.members/close.pass.cpp @@ -15,6 +15,7 @@ #include <fstream> #include <cassert> +#include "test_macros.h" #include "platform_support.h" int main(int, char**) diff --git a/libcxx/test/std/input.output/file.streams/fstreams/fstream.members/open_path.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/fstream.members/open_path.pass.cpp index f9de1c7d762..27dcc3387fd 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/fstream.members/open_path.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/fstream.members/open_path.pass.cpp @@ -19,6 +19,7 @@ #include <fstream> #include <filesystem> #include <cassert> +#include "test_macros.h" #include "platform_support.h" int main(int, char**) { diff --git a/libcxx/test/std/input.output/file.streams/fstreams/fstream.members/open_pointer.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/fstream.members/open_pointer.pass.cpp index 32f1d0096a3..a406c6afb84 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/fstream.members/open_pointer.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/fstream.members/open_pointer.pass.cpp @@ -15,6 +15,7 @@ #include <fstream> #include <cassert> +#include "test_macros.h" #include "platform_support.h" int main(int, char**) diff --git a/libcxx/test/std/input.output/file.streams/fstreams/fstream.members/open_string.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/fstream.members/open_string.pass.cpp index 90cd5611701..854b668e843 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/fstream.members/open_string.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/fstream.members/open_string.pass.cpp @@ -15,6 +15,7 @@ #include <fstream> #include <cassert> +#include "test_macros.h" #include "platform_support.h" int main(int, char**) diff --git a/libcxx/test/std/input.output/file.streams/fstreams/fstream.members/rdbuf.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/fstream.members/rdbuf.pass.cpp index 0f39fc63b62..2d86c25eb03 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/fstream.members/rdbuf.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/fstream.members/rdbuf.pass.cpp @@ -16,6 +16,8 @@ #include <fstream> #include <cassert> +#include "test_macros.h" + int main(int, char**) { { diff --git a/libcxx/test/std/input.output/file.streams/fstreams/fstream/types.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/fstream/types.pass.cpp index 783cfa3a736..9274b1854bf 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/fstream/types.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/fstream/types.pass.cpp @@ -22,6 +22,8 @@ #include <fstream> #include <type_traits> +#include "test_macros.h" + int main(int, char**) { static_assert((std::is_base_of<std::basic_iostream<char>, std::basic_fstream<char> >::value), ""); diff --git a/libcxx/test/std/input.output/file.streams/fstreams/ifstream.assign/member_swap.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/ifstream.assign/member_swap.pass.cpp index 17b88140d54..7832464b8e0 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/ifstream.assign/member_swap.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/ifstream.assign/member_swap.pass.cpp @@ -16,6 +16,8 @@ #include <fstream> #include <cassert> +#include "test_macros.h" + int main(int, char**) { { diff --git a/libcxx/test/std/input.output/file.streams/fstreams/ifstream.assign/move_assign.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/ifstream.assign/move_assign.pass.cpp index d5fe0984ee6..ec50ec686bb 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/ifstream.assign/move_assign.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/ifstream.assign/move_assign.pass.cpp @@ -18,6 +18,8 @@ #include <fstream> #include <cassert> +#include "test_macros.h" + int main(int, char**) { { diff --git a/libcxx/test/std/input.output/file.streams/fstreams/ifstream.assign/nonmember_swap.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/ifstream.assign/nonmember_swap.pass.cpp index c4cd592d11e..587dcc23d2f 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/ifstream.assign/nonmember_swap.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/ifstream.assign/nonmember_swap.pass.cpp @@ -17,6 +17,8 @@ #include <fstream> #include <cassert> +#include "test_macros.h" + int main(int, char**) { { diff --git a/libcxx/test/std/input.output/file.streams/fstreams/ifstream.cons/default.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/ifstream.cons/default.pass.cpp index 7e76d6f8aef..e4fffa7f81b 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/ifstream.cons/default.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/ifstream.cons/default.pass.cpp @@ -16,6 +16,8 @@ #include <fstream> #include <type_traits> +#include "test_macros.h" + int main(int, char**) { { diff --git a/libcxx/test/std/input.output/file.streams/fstreams/ifstream.cons/move.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/ifstream.cons/move.pass.cpp index d8a58ac53ce..ac19eea943d 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/ifstream.cons/move.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/ifstream.cons/move.pass.cpp @@ -18,6 +18,8 @@ #include <fstream> #include <cassert> +#include "test_macros.h" + int main(int, char**) { { diff --git a/libcxx/test/std/input.output/file.streams/fstreams/ifstream.cons/path.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/ifstream.cons/path.pass.cpp index 2e92735c816..52a367047e2 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/ifstream.cons/path.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/ifstream.cons/path.pass.cpp @@ -21,6 +21,8 @@ #include <filesystem> #include <cassert> +#include "test_macros.h" + namespace fs = std::filesystem; int main(int, char**) { diff --git a/libcxx/test/std/input.output/file.streams/fstreams/ifstream.cons/pointer.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/ifstream.cons/pointer.pass.cpp index d44b3be75d1..577670106cf 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/ifstream.cons/pointer.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/ifstream.cons/pointer.pass.cpp @@ -16,6 +16,8 @@ #include <fstream> #include <cassert> +#include "test_macros.h" + int main(int, char**) { { diff --git a/libcxx/test/std/input.output/file.streams/fstreams/ifstream.cons/string.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/ifstream.cons/string.pass.cpp index c4e979e30c6..c1ab706dd4f 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/ifstream.cons/string.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/ifstream.cons/string.pass.cpp @@ -16,6 +16,8 @@ #include <fstream> #include <cassert> +#include "test_macros.h" + int main(int, char**) { { diff --git a/libcxx/test/std/input.output/file.streams/fstreams/ifstream.members/close.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/ifstream.members/close.pass.cpp index e72bd548763..9bd4f723c12 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/ifstream.members/close.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/ifstream.members/close.pass.cpp @@ -16,6 +16,8 @@ #include <fstream> #include <cassert> +#include "test_macros.h" + int main(int, char**) { { diff --git a/libcxx/test/std/input.output/file.streams/fstreams/ifstream.members/open_path.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/ifstream.members/open_path.pass.cpp index ecac4896e34..9d30e8ece52 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/ifstream.members/open_path.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/ifstream.members/open_path.pass.cpp @@ -20,6 +20,8 @@ #include <filesystem> #include <cassert> +#include "test_macros.h" + int main(int, char**) { { std::ifstream fs; diff --git a/libcxx/test/std/input.output/file.streams/fstreams/ifstream.members/open_pointer.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/ifstream.members/open_pointer.pass.cpp index 50ec53fdc78..fd2adba4398 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/ifstream.members/open_pointer.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/ifstream.members/open_pointer.pass.cpp @@ -16,6 +16,8 @@ #include <fstream> #include <cassert> +#include "test_macros.h" + int main(int, char**) { { diff --git a/libcxx/test/std/input.output/file.streams/fstreams/ifstream.members/open_string.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/ifstream.members/open_string.pass.cpp index 155ae0e631d..b5fd9fc5522 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/ifstream.members/open_string.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/ifstream.members/open_string.pass.cpp @@ -16,6 +16,8 @@ #include <fstream> #include <cassert> +#include "test_macros.h" + int main(int, char**) { { diff --git a/libcxx/test/std/input.output/file.streams/fstreams/ifstream.members/rdbuf.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/ifstream.members/rdbuf.pass.cpp index 455d2274e2b..c09f76161ef 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/ifstream.members/rdbuf.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/ifstream.members/rdbuf.pass.cpp @@ -16,6 +16,8 @@ #include <fstream> #include <cassert> +#include "test_macros.h" + int main(int, char**) { { diff --git a/libcxx/test/std/input.output/file.streams/fstreams/ifstream/types.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/ifstream/types.pass.cpp index 620c3960895..15a044021f6 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/ifstream/types.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/ifstream/types.pass.cpp @@ -22,6 +22,8 @@ #include <fstream> #include <type_traits> +#include "test_macros.h" + int main(int, char**) { static_assert((std::is_base_of<std::basic_istream<char>, std::basic_ifstream<char> >::value), ""); diff --git a/libcxx/test/std/input.output/file.streams/fstreams/ofstream.assign/member_swap.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/ofstream.assign/member_swap.pass.cpp index fcfb94ecf20..4917bbf89a0 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/ofstream.assign/member_swap.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/ofstream.assign/member_swap.pass.cpp @@ -16,6 +16,7 @@ #include <fstream> #include <utility> #include <cassert> +#include "test_macros.h" #include "platform_support.h" std::pair<std::string, std::string> get_temp_file_names() { diff --git a/libcxx/test/std/input.output/file.streams/fstreams/ofstream.assign/move_assign.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/ofstream.assign/move_assign.pass.cpp index fbc3bf59738..4b947af4119 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/ofstream.assign/move_assign.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/ofstream.assign/move_assign.pass.cpp @@ -17,6 +17,7 @@ #include <fstream> #include <cassert> +#include "test_macros.h" #include "platform_support.h" int main(int, char**) diff --git a/libcxx/test/std/input.output/file.streams/fstreams/ofstream.assign/nonmember_swap.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/ofstream.assign/nonmember_swap.pass.cpp index 3cbf508d94e..1ee265a4ba4 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/ofstream.assign/nonmember_swap.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/ofstream.assign/nonmember_swap.pass.cpp @@ -17,6 +17,7 @@ #include <fstream> #include <utility> #include <cassert> +#include "test_macros.h" #include "platform_support.h" std::pair<std::string, std::string> get_temp_file_names() { diff --git a/libcxx/test/std/input.output/file.streams/fstreams/ofstream.cons/default.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/ofstream.cons/default.pass.cpp index baa4bfe9d8a..1b0ad8240e0 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/ofstream.cons/default.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/ofstream.cons/default.pass.cpp @@ -16,6 +16,8 @@ #include <fstream> #include <type_traits> +#include "test_macros.h" + int main(int, char**) { { diff --git a/libcxx/test/std/input.output/file.streams/fstreams/ofstream.cons/move.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/ofstream.cons/move.pass.cpp index 3a3e11e9114..c68809210b4 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/ofstream.cons/move.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/ofstream.cons/move.pass.cpp @@ -17,6 +17,7 @@ #include <fstream> #include <cassert> +#include "test_macros.h" #include "platform_support.h" int main(int, char**) diff --git a/libcxx/test/std/input.output/file.streams/fstreams/ofstream.cons/path.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/ofstream.cons/path.pass.cpp index b742f5f6ef7..4e89f375d39 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/ofstream.cons/path.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/ofstream.cons/path.pass.cpp @@ -19,6 +19,7 @@ #include <fstream> #include <filesystem> #include <cassert> +#include "test_macros.h" #include "platform_support.h" namespace fs = std::filesystem; diff --git a/libcxx/test/std/input.output/file.streams/fstreams/ofstream.cons/pointer.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/ofstream.cons/pointer.pass.cpp index ce23d5e36f4..a00f763dfa7 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/ofstream.cons/pointer.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/ofstream.cons/pointer.pass.cpp @@ -15,6 +15,7 @@ #include <fstream> #include <cassert> +#include "test_macros.h" #include "platform_support.h" int main(int, char**) diff --git a/libcxx/test/std/input.output/file.streams/fstreams/ofstream.cons/string.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/ofstream.cons/string.pass.cpp index c19c278f457..bd81f192608 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/ofstream.cons/string.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/ofstream.cons/string.pass.cpp @@ -15,6 +15,7 @@ #include <fstream> #include <cassert> +#include "test_macros.h" #include "platform_support.h" int main(int, char**) diff --git a/libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/close.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/close.pass.cpp index 3ea39985ecb..21c362a5793 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/close.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/close.pass.cpp @@ -15,6 +15,7 @@ #include <fstream> #include <cassert> +#include "test_macros.h" #include "platform_support.h" int main(int, char**) diff --git a/libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/open_path.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/open_path.pass.cpp index 2061fa5f33b..c5315b00ee6 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/open_path.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/open_path.pass.cpp @@ -19,6 +19,7 @@ #include <fstream> #include <filesystem> #include <cassert> +#include "test_macros.h" #include "platform_support.h" namespace fs = std::filesystem; diff --git a/libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/open_pointer.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/open_pointer.pass.cpp index 5bf58814d26..eb39065c22d 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/open_pointer.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/open_pointer.pass.cpp @@ -15,6 +15,7 @@ #include <fstream> #include <cassert> +#include "test_macros.h" #include "platform_support.h" int main(int, char**) diff --git a/libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/open_string.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/open_string.pass.cpp index 52db618e105..e817bbe6777 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/open_string.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/open_string.pass.cpp @@ -15,6 +15,7 @@ #include <fstream> #include <cassert> +#include "test_macros.h" #include "platform_support.h" int main(int, char**) diff --git a/libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/rdbuf.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/rdbuf.pass.cpp index a7b51fb35d6..dab7e3286f3 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/rdbuf.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/rdbuf.pass.cpp @@ -15,6 +15,7 @@ #include <fstream> #include <cassert> +#include "test_macros.h" #include "platform_support.h" int main(int, char**) diff --git a/libcxx/test/std/input.output/file.streams/fstreams/ofstream/types.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/ofstream/types.pass.cpp index 231807195f1..0986d5907ba 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/ofstream/types.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/ofstream/types.pass.cpp @@ -22,6 +22,8 @@ #include <fstream> #include <type_traits> +#include "test_macros.h" + int main(int, char**) { static_assert((std::is_base_of<std::basic_ostream<char>, std::basic_ofstream<char> >::value), ""); |