aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2022-03-18 17:45:07 +0000
committerJonathan Wakely <jwakely@redhat.com>2022-03-18 17:46:17 +0000
commita9131a329a92074decb91a69e70480a431918e4a (patch)
tree845f7743a2c8f7fde865c19b6ecf0fcaea9c48cd
parentc7a6a32739d62deab03266e2b5449fce261b1ecb (diff)
downloadgcc-a9131a329a92074decb91a69e70480a431918e4a.zip
gcc-a9131a329a92074decb91a69e70480a431918e4a.tar.gz
gcc-a9131a329a92074decb91a69e70480a431918e4a.tar.bz2
testsuite: Add missing <vector> header to test
gcc/testsuite/ChangeLog: * g++.dg/torture/pr104601.C: Include <vector>.
-rw-r--r--gcc/testsuite/g++.dg/torture/pr104601.C1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/torture/pr104601.C b/gcc/testsuite/g++.dg/torture/pr104601.C
index bb56479..92ad73d 100644
--- a/gcc/testsuite/g++.dg/torture/pr104601.C
+++ b/gcc/testsuite/g++.dg/torture/pr104601.C
@@ -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,