Another one that fails without PCH. * testsuite/experimental/algorithm/sample.cc: Add missing header.
Tested x86_64-linux, committed to trunk.
commit b6ba4386fc81777bd4a06b2807b03b38f7f85d76 Author: Jonathan Wakely <jwak...@redhat.com> Date: Thu Oct 13 17:42:03 2016 +0100 Add missing <random> header in testcase * testsuite/experimental/algorithm/sample.cc: Add missing header. diff --git a/libstdc++-v3/testsuite/experimental/algorithm/sample.cc b/libstdc++-v3/testsuite/experimental/algorithm/sample.cc index 19681d7..0d84e9d 100644 --- a/libstdc++-v3/testsuite/experimental/algorithm/sample.cc +++ b/libstdc++-v3/testsuite/experimental/algorithm/sample.cc @@ -22,6 +22,7 @@ #include <sstream> #include <forward_list> #include <vector> +#include <random> #include <testsuite_hooks.h> std::mt19937 rng;