public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-7711] testsuite: Add missing <vector> header to test
@ 2022-03-18 17:46 Jonathan Wakely
0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2022-03-18 17:46 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:a9131a329a92074decb91a69e70480a431918e4a
commit r12-7711-ga9131a329a92074decb91a69e70480a431918e4a
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Fri Mar 18 17:45:07 2022 +0000
testsuite: Add missing <vector> header to test
gcc/testsuite/ChangeLog:
* g++.dg/torture/pr104601.C: Include <vector>.
Diff:
---
gcc/testsuite/g++.dg/torture/pr104601.C | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/testsuite/g++.dg/torture/pr104601.C b/gcc/testsuite/g++.dg/torture/pr104601.C
index bb56479c745..92ad73d47e9 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,
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-03-18 17:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-18 17:46 [gcc r12-7711] testsuite: Add missing <vector> header to test Jonathan Wakely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).