On 19/11/17 02:40 +0200, Ville Voutilainen wrote:
--- /dev/null
+++ b/libstdc++-v3/testsuite/24_iterators/operations/lwg2353.cc
@@ -0,0 +1,26 @@
+// { dg-options "-D_GLIBCXX_CONCEPT_CHECKS" }
+// { dg-do run { target c++11 } }
+
+#include <iterator>
+#include <utility>
+#include <sstream>
+#include <string>
+#include <testsuite_hooks.h>
+
+template<typename Distance, typename InputRange>
+auto

This will FAIL if the test is run with
--target_board=unix/-std=gnu++11

OK for trunk with an explicitly specified return type here.

Reply via email to