diff --git a/libstdc++-v3/include/std/coroutine b/libstdc++-v3/include/std/coroutine
index f6e65566f103cbd9dce3011fbf62c5224bc5d0c1..b0ca18949dbee63d42764ec3f1f6546e689bcfd9 100644
--- a/libstdc++-v3/include/std/coroutine
+++ b/libstdc++-v3/include/std/coroutine
@@ -345,7 +345,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
     struct hash<coroutine_handle<_Promise>>
     {
       size_t
-      operator()(const coroutine_handle<_Promise>& __h) noexcept
+      operator()(const coroutine_handle<_Promise>& __h) const noexcept
       {
 	return reinterpret_cast<size_t>(__h.address());
       }
diff --git a/libstdc++-v3/testsuite/18_support/coroutines/hash.cc b/libstdc++-v3/testsuite/18_support/coroutines/hash.cc
new file mode 100644
index 0000000000000000000000000000000000000000..68e5e640477b20cad1098f035d90c9724049a655
--- /dev/null
+++ b/libstdc++-v3/testsuite/18_support/coroutines/hash.cc
@@ -0,0 +1,22 @@
+// { dg-options "-std=gnu++2a" }
+// { dg-do run { target c++2a } }
+
+#include <coroutine>
+#include <testsuite_hooks.h>
+
+void
+test01()
+{
+  std::hash<std::noop_coroutine_handle> h;
+  std::size_t v = h(std::noop_coroutine());
+
+  const auto& ch = h;
+  std::size_t v2 = h(std::noop_coroutine()); // PR libstdc++/109165
+
+  VERIFY( v2 == v );
+}
+
+int main()
+{
+  test01();
+}