[committed] libstdc++: Fix up pr118196.cc test [PR118196]

Jakub Jelinek jakub@redhat.com
Sat Dec 28 07:53:16 GMT 2024


Hi!

The test used #include "<generator>", so FAILed everywhere with
fatal error: <generator>: No such file or directory

Tested on x86_64-linux with RUNTESTFLAGS=conformance.exp=pr118196.cc
without/with the patch, committed to trunk as obvious.

2024-12-28  Jakub Jelinek  <jakub@redhat.com>

	PR libstdc++/118196
	* testsuite/24_iterators/range_generators/pr118196.cc: Include
	<generator> rather than "<generator>".

--- libstdc++-v3/testsuite/24_iterators/range_generators/pr118196.cc.jj	2024-12-28 00:12:11.198146105 +0100
+++ libstdc++-v3/testsuite/24_iterators/range_generators/pr118196.cc	2024-12-28 08:46:50.678663173 +0100
@@ -1,5 +1,5 @@
 // { dg-do compile { target c++23 } }
-#include "<generator>"
+#include <generator>
 
 std::generator<int>
 generator();

	Jakub



More information about the Libstdc++ mailing list