testsuite: Add missing <vector> header to test
authorJonathan Wakely <jwakely@redhat.com>
Fri, 18 Mar 2022 17:45:07 +0000 (17:45 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 18 Mar 2022 17:46:17 +0000 (17:46 +0000)
gcc/testsuite/ChangeLog:

* g++.dg/torture/pr104601.C: Include <vector>.

gcc/testsuite/g++.dg/torture/pr104601.C

index bb56479..92ad73d 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <algorithm>
 #include <optional>
+#include <vector>
 
 inline std::optional<int>
 foo (std::vector<int>::iterator b, std::vector<int>::iterator c,